Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype MimeInfo = MimeInfo (ManagedPtr MimeInfo)
- mimeInfoGetDescription :: (HasCallStack, MonadIO m) => MimeInfo -> m Text
- mimeInfoGetExtensions :: (HasCallStack, MonadIO m) => MimeInfo -> m [Text]
- mimeInfoGetMimeType :: (HasCallStack, MonadIO m) => MimeInfo -> m Text
- mimeInfoRef :: (HasCallStack, MonadIO m) => MimeInfo -> m MimeInfo
- mimeInfoUnref :: (HasCallStack, MonadIO m) => MimeInfo -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq MimeInfo Source # | |
GBoxed MimeInfo Source # | |
Defined in GI.WebKit2.Structs.MimeInfo | |
ManagedPtrNewtype MimeInfo Source # | |
Defined in GI.WebKit2.Structs.MimeInfo toManagedPtr :: MimeInfo -> ManagedPtr MimeInfo | |
TypedObject MimeInfo Source # | |
Defined in GI.WebKit2.Structs.MimeInfo glibType :: IO GType | |
IsGValue MimeInfo Source # | Convert |
Defined in GI.WebKit2.Structs.MimeInfo toGValue :: MimeInfo -> IO GValue fromGValue :: GValue -> IO MimeInfo | |
HasParentTypes MimeInfo Source # | |
Defined in GI.WebKit2.Structs.MimeInfo | |
type ParentTypes MimeInfo Source # | |
Defined in GI.WebKit2.Structs.MimeInfo type ParentTypes MimeInfo = '[] :: [Type] |
Methods
Overloaded methods
getDescription
mimeInfoGetDescription Source #
:: (HasCallStack, MonadIO m) | |
=> MimeInfo |
|
-> m Text | Returns: the description of the MIME type of |
No description available in the introspection data.
getExtensions
mimeInfoGetExtensions Source #
:: (HasCallStack, MonadIO m) | |
=> MimeInfo |
|
-> m [Text] | Returns: a
|
Get the list of file extensions associated to the
MIME type of info
getMimeType
No description available in the introspection data.
ref
:: (HasCallStack, MonadIO m) | |
=> MimeInfo |
|
-> m MimeInfo | Returns: The passed in |
Atomically increments the reference count of info
by one. This
function is MT-safe and may be called from any thread.