#include "grab.h"
#include "plugin_comm.h"
Go to the source code of this file.
Macro Definition Documentation
#define PLUG_ABI_VERSION 2 |
plugDefinition->abi_version should be set to this value in the plug_get_info() factory function of a plugin.
For C++ plugins, this is the provided version. This can also be used to test whether icemm support is available at all.
Typedef Documentation
Definition of a plugin instance. Must be returned by the plug_get_info() factory function of a plugin.
Called on load of the plugin. Returns the filled plugin definition structure and whether the plugin should be inserted at the start or at the end of the iceWing internal plugin list.
Enumeration Type Documentation
Function Documentation
Return the plugin whose name matches 'name'.
Return the path where 'plug' can store it's data files.
Return a pointer to a per-plugin-instance string of the form
'plugDef->name''suffix'. Can be used e.g. for preview windows and
option pages.
Set the plugin enabled state.
Register a new plugin 'plug_new' with iceWing. The new plugin gets
associated with the plugin 'plug', which should be the calling
plugin. Initialization is scheduled before the next main loop run.
append : Should the new plugin be inserted at the start or at
the end of the iceWing internal plugin list.
argc, argv: Command line arguments for the new plugin.
Return TRUE on sucess, FALSE otherwise.
Attention: The function is not thread save. Should only be used for
language bindings. No arguments are copied.
Create a new option page with the name 'plugDef->name" "suffix' and
two widgets:
1. Toggle to enable/disable the plugin processing call
(only if PLUG_PAGE_NODISABLE is not set in flags).
2. String for plugin names (only if PLUG_PAGE_NOPLUG is not set in
flags). The plugin gets called one after another for all data
from plugins which are entered here.
Return the number of the newly created page.