Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
- newtype Plugin = Plugin (ManagedPtr Plugin)
- class GObject o => IsPlugin o
- toPlugin :: (MonadIO m, IsPlugin o) => o -> m Plugin
- noPlugin :: Maybe Plugin
- pluginGetDescription :: (HasCallStack, MonadIO m, IsPlugin a) => a -> m Text
- pluginGetMimeInfoList :: (HasCallStack, MonadIO m, IsPlugin a) => a -> m [MimeInfo]
- pluginGetName :: (HasCallStack, MonadIO m, IsPlugin a) => a -> m Text
- pluginGetPath :: (HasCallStack, MonadIO m, IsPlugin a) => a -> m Text
Exported types
Memory-managed wrapper type.
Methods
getDescription
:: (HasCallStack, MonadIO m, IsPlugin a) | |
=> a |
|
-> m Text | Returns: the description of the plugin. |
No description available in the introspection data.
getMimeInfoList
pluginGetMimeInfoList Source #
:: (HasCallStack, MonadIO m, IsPlugin a) | |
=> a |
|
-> m [MimeInfo] |
Get information about MIME types handled by the plugin,
as a list of MimeInfo
.
getName
:: (HasCallStack, MonadIO m, IsPlugin a) | |
=> a |
|
-> m Text | Returns: the name of the plugin. |
No description available in the introspection data.
getPath
:: (HasCallStack, MonadIO m, IsPlugin a) | |
=> a |
|
-> m Text | Returns: the absolute path where the plugin is installed. |
No description available in the introspection data.