aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-plugin.h
diff options
context:
space:
mode:
authorSankar P <psankar@novell.com>2008-03-19 17:06:21 +0800
committerSankarasivasubramanian Pasupathilingam <psankar@src.gnome.org>2008-03-19 17:06:21 +0800
commit04000625d6e5afa85be7c8426adf1df68aa4aa5c (patch)
tree0b6dd106a2f47dca2be55f59f14fdd3756cd7df2 /e-util/e-plugin.h
parent96b7bd344fb4809679584037727f70cde7158300 (diff)
downloadgsoc2013-evolution-04000625d6e5afa85be7c8426adf1df68aa4aa5c.tar.gz
gsoc2013-evolution-04000625d6e5afa85be7c8426adf1df68aa4aa5c.tar.zst
gsoc2013-evolution-04000625d6e5afa85be7c8426adf1df68aa4aa5c.zip
** Fix for bug #496839
2008-03-19 Sankar P <psankar@novell.com> ** Fix for bug #496839 * e-plugin.c: (ep_load), (e_plugin_load_plugins), (e_plugin_get_configure_widget): * e-plugin.h: - Implement Plugin Load Levels. You can decide on which load-level you want your plugin to be loaded. - Load Levels are mandatory if you need other language loaders like Mono-Loader or Python-Loader. - Introduce FLAGS as part of EPlugin. Futuristic. svn path=/trunk/; revision=35216
Diffstat (limited to 'e-util/e-plugin.h')
-rw-r--r--e-util/e-plugin.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/e-util/e-plugin.h b/e-util/e-plugin.h
index 07795d0ca8..fd5955ba38 100644
--- a/e-util/e-plugin.h
+++ b/e-util/e-plugin.h
@@ -53,6 +53,8 @@ struct _EPlugin {
GSList *hooks;
GSList *authors; /* EPluginAuthor structures */
+ guint32 flags;
+
guint enabled:1;
};
@@ -275,5 +277,15 @@ struct _EPluginTypeHookClass {
GType e_plugin_type_hook_get_type(void);
+
+/* README: Currently there is only one flag.
+ But we may need more in the future and hence makes
+ sense to keep as an enum */
+
+typedef enum _EPluginFlags {
+ E_PLUGIN_FLAGS_SYSTEM_PLUGIN = 1 << 0
+} EPluginFlags;
+
+
#endif /* ! _E_PLUGIN_H */