aboutsummaryrefslogtreecommitdiff
path: root/libindicator/indicator-instance.h
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-11-03 11:52:16 -0600
committerTed Gould <ted@canonical.com>2009-11-03 11:52:16 -0600
commitaaacaacde502d2593108db0a5bf4182b9552ce4d (patch)
tree98be869c345201a154d8e9bb8391b2eb921702e0 /libindicator/indicator-instance.h
parent614606a905667c45ab851dc13ec683250b866333 (diff)
downloadlibayatana-indicator-aaacaacde502d2593108db0a5bf4182b9552ce4d.tar.gz
libayatana-indicator-aaacaacde502d2593108db0a5bf4182b9552ce4d.tar.bz2
libayatana-indicator-aaacaacde502d2593108db0a5bf4182b9552ce4d.zip
Adding in the basis for the instance class.
Diffstat (limited to 'libindicator/indicator-instance.h')
-rw-r--r--libindicator/indicator-instance.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/libindicator/indicator-instance.h b/libindicator/indicator-instance.h
new file mode 100644
index 0000000..c83b01e
--- /dev/null
+++ b/libindicator/indicator-instance.h
@@ -0,0 +1,31 @@
+#ifndef __INDICATOR_INSTANCE_H__
+#define __INDICATOR_INSTANCE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+G_BEGIN_DECLS
+
+#define INDICATOR_INSTANCE_TYPE (indicator_instance_get_type ())
+#define INDICATOR_INSTANCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), INDICATOR_INSTANCE_TYPE, IndicatorInstance))
+#define INDICATOR_INSTANCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), INDICATOR_INSTANCE_TYPE, IndicatorInstanceClass))
+#define INDICATOR_IS_INSTANCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), INDICATOR_INSTANCE_TYPE))
+#define INDICATOR_IS_INSTANCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), INDICATOR_INSTANCE_TYPE))
+#define INDICATOR_INSTANCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), INDICATOR_INSTANCE_TYPE, IndicatorInstanceClass))
+
+typedef struct _IndicatorInstance IndicatorInstance;
+typedef struct _IndicatorInstanceClass IndicatorInstanceClass;
+
+struct _IndicatorInstanceClass {
+ GObjectClass parent_class;
+};
+
+struct _IndicatorInstance {
+ GObject parent;
+};
+
+GType indicator_instance_get_type (void);
+
+G_END_DECLS
+
+#endif