aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-plugin.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-12-14 20:25:24 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-12-15 21:16:36 +0800
commit5e2efa2cd4ac7891fdf316dafd9ab249086e842a (patch)
treefe4b9c1ef8d783281789c4a378253aa41af35db3 /e-util/e-plugin.h
parent63cff95414fc76e6d58a274ffebe019cd6feb0a5 (diff)
downloadgsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar
gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar.gz
gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar.bz2
gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar.lz
gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar.xz
gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar.zst
gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.zip
Finish adding symbols to libeutil API docs.
Diffstat (limited to 'e-util/e-plugin.h')
-rw-r--r--e-util/e-plugin.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/e-util/e-plugin.h b/e-util/e-plugin.h
index b67bde548c..2b8cd822be 100644
--- a/e-util/e-plugin.h
+++ b/e-util/e-plugin.h
@@ -62,6 +62,14 @@ struct _EPluginAuthor {
gchar *email;
};
+/* 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 {
+ E_PLUGIN_FLAGS_SYSTEM_PLUGIN = 1 << 0
+} EPluginFlags;
+
/**
* struct _EPlugin - An EPlugin instance.
*
@@ -91,7 +99,7 @@ struct _EPlugin {
GSList *hooks;
GSList *authors; /* EPluginAuthor structures */
- guint32 flags;
+ EPluginFlags flags;
guint enabled : 1;
};
@@ -130,7 +138,7 @@ struct _EPluginClass {
GtkWidget *(*get_configure_widget)(EPlugin *);
};
-GType e_plugin_get_type (void);
+GType e_plugin_get_type (void) G_GNUC_CONST;
gint e_plugin_construct (EPlugin *plugin,
xmlNodePtr root);
gint e_plugin_load_plugins (void);
@@ -275,13 +283,5 @@ guint32 e_plugin_hook_id (xmlNodePtr root,
const EPluginHookTargetKey *map,
const gchar *prop);
-/* 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 */