| 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.WebKit.Objects.WebPluginDatabase
Description
This object allows you to query information about the plugins found
by the engine while scanning the usual directories. You can then
use the WebPlugin objects to get more information or
enable/disable individual plugins.
- newtype WebPluginDatabase = WebPluginDatabase (ManagedPtr WebPluginDatabase)
- class GObject o => IsWebPluginDatabase o
- toWebPluginDatabase :: (MonadIO m, IsWebPluginDatabase o) => o -> m WebPluginDatabase
- noWebPluginDatabase :: Maybe WebPluginDatabase
- webPluginDatabaseGetPluginForMimetype :: (HasCallStack, MonadIO m, IsWebPluginDatabase a) => a -> Text -> m WebPlugin
- webPluginDatabaseGetPlugins :: (HasCallStack, MonadIO m, IsWebPluginDatabase a) => a -> m [WebPlugin]
- webPluginDatabasePluginsListFree :: (HasCallStack, MonadIO m, IsWebPlugin a) => [a] -> m ()
- webPluginDatabaseRefresh :: (HasCallStack, MonadIO m, IsWebPluginDatabase a) => a -> m ()
Exported types
newtype WebPluginDatabase Source #
Constructors
| WebPluginDatabase (ManagedPtr WebPluginDatabase) |
class GObject o => IsWebPluginDatabase o Source #
Instances
toWebPluginDatabase :: (MonadIO m, IsWebPluginDatabase o) => o -> m WebPluginDatabase Source #
Methods
getPluginForMimetype
webPluginDatabaseGetPluginForMimetype Source #
Arguments
| :: (HasCallStack, MonadIO m, IsWebPluginDatabase a) | |
| => a |
|
| -> Text |
|
| -> m WebPlugin | Returns: a |
getPlugins
webPluginDatabaseGetPlugins Source #
Arguments
| :: (HasCallStack, MonadIO m, IsWebPluginDatabase a) | |
| => a |
|
| -> m [WebPlugin] |
Returns all WebPlugin available in database.
The returned list must be freed with webPluginDatabasePluginsListFree
Since: 1.3.8
pluginsListFree
webPluginDatabasePluginsListFree Source #
Arguments
| :: (HasCallStack, MonadIO m, IsWebPlugin a) | |
| => [a] | |
| -> m () |
Frees list.
Since: 1.3.8
refresh
webPluginDatabaseRefresh Source #
Arguments
| :: (HasCallStack, MonadIO m, IsWebPluginDatabase a) | |
| => a |
|
| -> m () |
Refreshes database adding new plugins that are now in use and
removing those that have been disabled or are otherwise no longer
available.
Since: 1.3.8