diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-02-07 11:49:59 +0000 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-02-07 13:49:28 +0000 |
commit | 6195e787e6fb2c92cebe85ebd815210f0952a2f0 (patch) | |
tree | e69fd50e0a624897ea90e7b76c0e60af9f172d61 /plugins/test.h | |
parent | aacd617f299de8836b41383634c452060f0dcf4f (diff) | |
download | telepathy-salut-6195e787e6fb2c92cebe85ebd815210f0952a2f0.tar.gz |
plugins: add a test plugin
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'plugins/test.h')
-rw-r--r-- | plugins/test.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/plugins/test.h b/plugins/test.h new file mode 100644 index 00000000..13e11e4c --- /dev/null +++ b/plugins/test.h @@ -0,0 +1,32 @@ +#include <glib-object.h> + +typedef struct _TestPluginClass TestPluginClass; +typedef struct _TestPlugin TestPlugin; + +struct _TestPluginClass +{ + GObjectClass parent; +}; + +struct _TestPlugin +{ + GObject parent; +}; + +GType test_plugin_get_type (void); + +#define TEST_TYPE_PLUGIN \ + (test_plugin_get_type ()) +#define TEST_PLUGIN(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST((obj), TEST_TYPE_PLUGIN, TestPlugin)) +#define TEST_PLUGIN_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST((klass), TEST_TYPE_PLUGIN, \ + TestPluginClass)) +#define TEST_IS_PLUGIN(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE((obj), TEST_TYPE_PLUGIN)) +#define TEST_IS_PLUGIN_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE((klass), TEST_TYPE_PLUGIN)) +#define TEST_PLUGIN_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS ((obj), TEST_TYPE_PLUGIN, \ + TestPluginClass)) + |