#include <plugin.h>
Data Fields | |
| char * | gettext_domain |
| First argument for bindtextdomain(). | |
| char * | gettext_directory |
| Second argument for bindtextdomain(). | |
| char * | name |
| Unique short name. | |
| char * | long_name |
| Humanized name for GUI widgets. | |
| bg_plugin_type_t | type |
| Type. | |
| int | flags |
| Flags (see defines). | |
| char * | description |
| Textual description. | |
| int | priority |
| Priority (between 1 and 10). | |
| void *(* | create )() |
| Create the instance, return handle. | |
| void(* | destroy )(void *priv) |
| Destroy plugin instance. | |
| const bg_parameter_info_t *(* | get_parameters )(void *priv) |
| Get available parameters. | |
| bg_set_parameter_func_t | set_parameter |
| Set configuration parameter (optional). | |
| bg_get_parameter_func_t | get_parameter |
| Get configuration parameter (optional). | |
| int(* | check_device )(const char *device, char **name) |
| Check, if a device can be opened by the plugin (optional). | |
| bg_device_info_t *(* | find_devices )() |
| Get an array of all supported devices found on the system. | |
First argument for bindtextdomain().
Second argument for bindtextdomain().
| char* bg_plugin_common_s::name |
Unique short name.
Humanized name for GUI widgets.
Flags (see defines).
Textual description.
Priority (between 1 and 10).
| void*(* bg_plugin_common_s::create)() |
Create the instance, return handle.
| void(* bg_plugin_common_s::destroy)(void *priv) |
Destroy plugin instance.
| priv | The handle returned by the create() method |
| const bg_parameter_info_t*(* bg_plugin_common_s::get_parameters)(void *priv) |
Get available parameters.
| priv | The handle returned by the create() method |
Set configuration parameter (optional).
Get configuration parameter (optional).
This must only return parameters, which are changed internally by the plugins.
| int(* bg_plugin_common_s::check_device)(const char *device, char **name) |
Check, if a device can be opened by the plugin (optional).
| device | The device as passed to the open() method | |
| name | Returns the name if available |
Get an array of all supported devices found on the system.
1.5.6