aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-plugin.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2008-05-20 22:10:21 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-05-20 22:10:21 +0800
commitd7821c77a36d73a8f5352a41f8c68ac9961a6ad3 (patch)
tree3f6a8585392963a94f755fc8616b39371275a4b7 /e-util/e-plugin.h
parentf71fd06f1e510c623689918412eb208f44dd6deb (diff)
downloadgsoc2013-evolution-d7821c77a36d73a8f5352a41f8c68ac9961a6ad3.tar
gsoc2013-evolution-d7821c77a36d73a8f5352a41f8c68ac9961a6ad3.tar.gz
gsoc2013-evolution-d7821c77a36d73a8f5352a41f8c68ac9961a6ad3.tar.bz2
gsoc2013-evolution-d7821c77a36d73a8f5352a41f8c68ac9961a6ad3.tar.lz
gsoc2013-evolution-d7821c77a36d73a8f5352a41f8c68ac9961a6ad3.tar.xz
gsoc2013-evolution-d7821c77a36d73a8f5352a41f8c68ac9961a6ad3.tar.zst
gsoc2013-evolution-d7821c77a36d73a8f5352a41f8c68ac9961a6ad3.zip
Move some EPlugin macros from e-plugin-ui.c to e-plugin.h where they belong.
svn path=/trunk/; revision=35520
Diffstat (limited to 'e-util/e-plugin.h')
-rw-r--r--e-util/e-plugin.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/e-util/e-plugin.h b/e-util/e-plugin.h
index c20ed81a7f..119a62156a 100644
--- a/e-util/e-plugin.h
+++ b/e-util/e-plugin.h
@@ -9,6 +9,25 @@
/* ********************************************************************** */
+/* Standard GObject macros */
+#define E_TYPE_PLUGIN_HOOK \
+ (e_plugin_hook_get_type ())
+#define E_PLUGIN_HOOK(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST \
+ ((obj), E_TYPE_PLUGIN_HOOK, EPluginHook))
+#define E_PLUGIN_HOOK_CLASS(cls) \
+ (G_TYPE_CHECK_CLASS_CAST \
+ ((cls), E_TYPE_PLUGIN_HOOK, EPluginHookClass))
+#define E_IS_PLUGIN_HOOK(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE \
+ ((obj), E_TYPE_PLUGIN_HOOK))
+#define E_IS_PLUGIN_HOOK_CLASS(cls) \
+ (G_TYPE_CHECK_CLASS_TYPE \
+ ((cls), E_TYPE_PLUGIN_HOOK))
+#define E_PLUGIN_HOOK_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS \
+ ((obj), E_TYPE_PLUGIN_HOOK, EPluginHookClass))
+
typedef struct _EPlugin EPlugin;
typedef struct _EPluginClass EPluginClass;