Top | ![]() |
![]() |
![]() |
![]() |
gint | e_plugin_construct () |
gint | e_plugin_load_plugins () |
GSList * | e_plugin_list_plugins () |
gpointer | e_plugin_get_symbol () |
gpointer | e_plugin_invoke () |
void | e_plugin_enable () |
GtkWidget * | e_plugin_get_configure_widget () |
gchar * | e_plugin_xml_prop () |
gchar * | e_plugin_xml_prop_domain () |
gint | e_plugin_xml_int () |
gchar * | e_plugin_xml_content () |
gchar * | e_plugin_xml_content_domain () |
EPluginHook * | e_plugin_hook_new () |
void | e_plugin_hook_enable () |
guint32 | e_plugin_hook_mask () |
guint32 | e_plugin_hook_id () |
#define | E_PLUGIN_CLASSID |
struct | EPluginAuthor |
enum | EPluginFlags |
struct | EPluginHookTargetKey |
struct | EPluginHookTargetMap |
gint e_plugin_construct (EPlugin *plugin
,xmlNodePtr root
);
e_plugin_construct
is deprecated and should not be used in newly-written code.
Helper to invoke the construct virtual method.
gint
e_plugin_load_plugins (void
);
e_plugin_load_plugins
is deprecated and should not be used in newly-written code.
Scan the search path, looking for plugin definitions, and load them into memory.
GSList *
e_plugin_list_plugins (void
);
e_plugin_list_plugins
is deprecated and should not be used in newly-written code.
gpointer e_plugin_get_symbol (EPlugin *plugin
,const gchar *name
);
e_plugin_get_symbol
is deprecated and should not be used in newly-written code.
Helper to fetch a symbol name from a plugin.
gpointer e_plugin_invoke (EPlugin *plugin
,const gchar *name
,gpointer data
);
e_plugin_invoke
is deprecated and should not be used in newly-written code.
Helper to invoke the invoke virtual method.
plugin |
an EPlugin |
|
name |
The name of the function to invoke. The format of this name will depend on the EPlugin type and its language conventions. |
|
data |
The argument to the function. Its actual type depends on the hook on which the function resides. It is up to the called function to get this right. |
void e_plugin_enable (EPlugin *plugin
,gint state
);
e_plugin_enable
is deprecated and should not be used in newly-written code.
Set the enable state of a plugin.
THIS IS NOT FULLY IMPLEMENTED YET
GtkWidget *
e_plugin_get_configure_widget (EPlugin *plugin
);
e_plugin_get_configure_widget
is deprecated and should not be used in newly-written code.
Plugin itself should have implemented "e_plugin_lib_get_configure_widget" function * of prototype EPluginLibGetConfigureWidgetFunc.
gchar * e_plugin_xml_prop (xmlNodePtr node
,const gchar *id
);
e_plugin_xml_prop
is deprecated and should not be used in newly-written code.
A static helper function to look up a property on an XML node, and ensure it is allocated in GLib system memory.
gchar * e_plugin_xml_prop_domain (xmlNodePtr node
,const gchar *id
,const gchar *domain
);
e_plugin_xml_prop_domain
is deprecated and should not be used in newly-written code.
A static helper function to look up a property on an XML node, and
translate it based on domain
.
gint e_plugin_xml_int (xmlNodePtr node
,const gchar *id
,gint def
);
e_plugin_xml_int
is deprecated and should not be used in newly-written code.
A static helper function to look up a property on an XML node as an
integer. If the property doesn't exist, then def
is returned as a
default value instead.
gchar *
e_plugin_xml_content (xmlNodePtr node
);
e_plugin_xml_content
is deprecated and should not be used in newly-written code.
A static helper function to retrieve the entire textual content of an XML node, and ensure it is allocated in GLib system memory. If GLib isn't using the system malloc them it must copy the content.
gchar * e_plugin_xml_content_domain (xmlNodePtr node
,const gchar *domain
);
e_plugin_xml_content_domain
is deprecated and should not be used in newly-written code.
A static helper function to retrieve the entire textual content of an XML node, and ensure it is allocated in GLib system memory. If GLib isn't using the system malloc them it must copy the content.
EPluginHook * e_plugin_hook_new (EPlugin *plugin
,xmlNodePtr root
);
e_plugin_hook_new
is deprecated and should not be used in newly-written code.
void e_plugin_hook_enable (EPluginHook *plugin_hook
,gint state
);
e_plugin_hook_enable
is deprecated and should not be used in newly-written code.
Set the enabled state of the plugin hook. This is called by the plugin code.
THIS IS NOT FULY IMEPLEMENTED YET
guint32 e_plugin_hook_mask (xmlNodePtr root
,const EPluginHookTargetKey *map
,const gchar *prop
);
e_plugin_hook_mask
is deprecated and should not be used in newly-written code.
This is a static helper function which looks up a property prop
on
the XML node root
, and then uses the map
table to convert it into
a bitmask. The property value is a comma separated list of
enumeration strings which are indexed into the map
table.
guint32 e_plugin_hook_id (xmlNodePtr root
,const EPluginHookTargetKey *map
,const gchar *prop
);
e_plugin_hook_id
is deprecated and should not be used in newly-written code.
This is a static helper function which looks up a property prop
on
the XML node root
, and then uses the map
table to convert it into
an integer.
This is used as a helper wherever you need to represent an enumerated value in the XML.
#define E_PLUGIN_CLASSID "org.gnome.evolution.plugin"
E_PLUGIN_CLASSID
is deprecated and should not be used in newly-written code.
struct EPluginAuthor { gchar *name; gchar *email; };
EPluginAuthor
is deprecated and should not be used in newly-written code.
struct EPluginHookTargetKey { const gchar *key; guint32 value; };
EPluginHookTargetKey
is deprecated and should not be used in newly-written code.