aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-plugin.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-10-07 16:20:31 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-10-07 16:20:31 +0800
commitd3dd1bc0de03714617d713985e5315b789c84678 (patch)
tree33f3f71e702b99aaef04b530d44886d10f832520 /e-util/e-plugin.h
parenteb114d32c827f54d0c752ee022f78fb35d5ee4ef (diff)
downloadgsoc2013-evolution-d3dd1bc0de03714617d713985e5315b789c84678.tar
gsoc2013-evolution-d3dd1bc0de03714617d713985e5315b789c84678.tar.gz
gsoc2013-evolution-d3dd1bc0de03714617d713985e5315b789c84678.tar.bz2
gsoc2013-evolution-d3dd1bc0de03714617d713985e5315b789c84678.tar.lz
gsoc2013-evolution-d3dd1bc0de03714617d713985e5315b789c84678.tar.xz
gsoc2013-evolution-d3dd1bc0de03714617d713985e5315b789c84678.tar.zst
gsoc2013-evolution-d3dd1bc0de03714617d713985e5315b789c84678.zip
show the toplevel notebook if we had to create one, always.
2004-10-07 Not Zed <NotZed@Ximian.com> * e-config.c (ec_rebuild): show the toplevel notebook if we had to create one, always. * e-menu.c (e_menu_add_items): initialise node->menu properly. * e-plugin.c (ep_load): read/initialise a unique id for all plugins and track them in a hashtable. (ep_construct): refactor so we have more control over what happens. if the hook handling class isn't registered yet, just note it and keep going. (e_plugin_hook_new): remove this, its handled internally by above. svn path=/trunk/; revision=27490
Diffstat (limited to 'e-util/e-plugin.h')
-rw-r--r--e-util/e-plugin.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/e-util/e-plugin.h b/e-util/e-plugin.h
index c6e132ac6f..802469acb4 100644
--- a/e-util/e-plugin.h
+++ b/e-util/e-plugin.h
@@ -14,9 +14,13 @@ typedef struct _EPluginClass EPluginClass;
#define E_PLUGIN_CLASSID "com.ximian.evolution.plugin"
/**
- * struct _EPlugin -
+ * struct _EPlugin - An EPlugin instance.
*
* @object: Superclass.
+ * @id: Unique identifier for plugin instance.
+ * @path: Filename where the xml definition resides.
+ * @hooks_pending: A list hooks which can't yet be loaded. This is
+ * the xmlNodePtr to the root node of the hook definition.
* @description: A description of the plugin's purpose.
* @name: The name of the plugin.
* @domain: The translation domain for this plugin.
@@ -31,6 +35,10 @@ typedef struct _EPluginClass EPluginClass;
struct _EPlugin {
GObject object;
+ char *id;
+ char *path;
+ GSList *hooks_pending;
+
char *description;
char *name;
char *domain;