aboutsummaryrefslogtreecommitdiff
path: root/libindicator/indicator-service.h
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-29 09:27:05 -0500
committerTed Gould <ted@canonical.com>2009-10-29 09:27:05 -0500
commitba8af8211f01a5c470ac30275e907bc5a26be910 (patch)
treef7f07456e3676e8c247420347c1c9ae98fd3cab2 /libindicator/indicator-service.h
parent606b4939df9845c82d92029abfe8403eb891a26b (diff)
downloadlibayatana-indicator-ba8af8211f01a5c470ac30275e907bc5a26be910.tar.gz
libayatana-indicator-ba8af8211f01a5c470ac30275e907bc5a26be910.tar.bz2
libayatana-indicator-ba8af8211f01a5c470ac30275e907bc5a26be910.zip
Putting in some templated objects.
Diffstat (limited to 'libindicator/indicator-service.h')
-rw-r--r--libindicator/indicator-service.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/libindicator/indicator-service.h b/libindicator/indicator-service.h
new file mode 100644
index 0000000..0cec28c
--- /dev/null
+++ b/libindicator/indicator-service.h
@@ -0,0 +1,33 @@
+#ifndef __INDICATOR_SERVICE_H__
+#define __INDICATOR_SERVICE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+G_BEGIN_DECLS
+
+#define INDICATOR_SERVICE_TYPE (indicator_service_get_type ())
+#define INDICATOR_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), INDICATOR_SERVICE_TYPE, IndicatorService))
+#define INDICATOR_SERVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), INDICATOR_SERVICE_TYPE, IndicatorServiceClass))
+#define IS_INDICATOR_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), INDICATOR_SERVICE_TYPE))
+#define IS_INDICATOR_SERVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), INDICATOR_SERVICE_TYPE))
+#define INDICATOR_SERVICE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), INDICATOR_SERVICE_TYPE, IndicatorServiceClass))
+
+typedef struct _IndicatorService IndicatorService;
+typedef struct _IndicatorServiceClass IndicatorServiceClass;
+
+struct _IndicatorServiceClass {
+ GObjectClass parent_class;
+
+};
+
+struct _IndicatorService {
+ GObject parent;
+
+};
+
+GType indicator_service_get_type (void);
+
+G_END_DECLS
+
+#endif