| 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 |
GI.Gst.Structs.PluginDesc
Contents
Description
A plugin should export a variable of this type called plugin_desc. The plugin loader will use the data provided there to initialize the plugin.
The @licence parameter must be one of: LGPL, GPL, QPL, GPL/QPL, MPL, BSD, MIT/X11, Proprietary, unknown.
- newtype PluginDesc = PluginDesc (ForeignPtr PluginDesc)
- newZeroPluginDesc :: MonadIO m => m PluginDesc
- noPluginDesc :: Maybe PluginDesc
- pluginDescReadDescription :: PluginDesc -> IO Text
- pluginDescReadLicense :: PluginDesc -> IO Text
- pluginDescReadMajorVersion :: PluginDesc -> IO Int32
- pluginDescReadMinorVersion :: PluginDesc -> IO Int32
- pluginDescReadName :: PluginDesc -> IO Text
- pluginDescReadOrigin :: PluginDesc -> IO Text
- pluginDescReadPackage :: PluginDesc -> IO Text
- pluginDescReadReleaseDatetime :: PluginDesc -> IO Text
- pluginDescReadSource :: PluginDesc -> IO Text
- pluginDescReadVersion :: PluginDesc -> IO Text
Exported types
newtype PluginDesc Source
Constructors
| PluginDesc (ForeignPtr PluginDesc) |
Instances
| ((~) * info (ResolvePluginDescMethod t PluginDesc), MethodInfo * info PluginDesc p) => IsLabel t (PluginDesc -> p) Source | |
| ((~) * info (ResolvePluginDescMethod t PluginDesc), MethodInfo * info PluginDesc p) => IsLabelProxy t (PluginDesc -> p) Source | |
newZeroPluginDesc :: MonadIO m => m PluginDesc Source
Construct a PluginDesc struct initialized to zero.
Properties
Description
License
MajorVersion
MinorVersion
Name
pluginDescReadName :: PluginDesc -> IO Text Source