Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
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 | |
HasParentTypes MimeInfo Source # | |
Defined in GI.WebKit2.Structs.MimeInfo | |
IsGValue (Maybe MimeInfo) Source # | Convert |
Defined in GI.WebKit2.Structs.MimeInfo | |
type ParentTypes MimeInfo Source # | |
Defined in GI.WebKit2.Structs.MimeInfo |
Methods
Click to display all available methods, including inherited ones
getDescription
mimeInfoGetDescription Source #
:: (HasCallStack, MonadIO m) | |
=> MimeInfo |
|
-> m Text | Returns: the description of the MIME type of |
Deprecated: (Since version 2.32)
No description available in the introspection data.
getExtensions
mimeInfoGetExtensions Source #
:: (HasCallStack, MonadIO m) | |
=> MimeInfo |
|
-> m [Text] | Returns: a
|
Deprecated: (Since version 2.32)
Get the list of file extensions associated to the
MIME type of info
getMimeType
:: (HasCallStack, MonadIO m) | |
=> MimeInfo |
|
-> m Text | Returns: the MIME type of |
Deprecated: (Since version 2.32)
No description available in the introspection data.
ref
:: (HasCallStack, MonadIO m) | |
=> MimeInfo |
|
-> m MimeInfo | Returns: The passed in |
Deprecated: (Since version 2.32)
Atomically increments the reference count of info
by one. This
function is MT-safe and may be called from any thread.
unref
:: (HasCallStack, MonadIO m) | |
=> MimeInfo |
|
-> m () |
Deprecated: (Since version 2.32)
Atomically decrements the reference count of info
by one. If the
reference count drops to 0, all memory allocated by the MimeInfo
is
released. This function is MT-safe and may be called from any
thread.