aboutsummaryrefslogtreecommitdiff
path: root/libindicator/indicator-service.c
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.c
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.c')
-rw-r--r--libindicator/indicator-service.c58
1 files changed, 58 insertions, 0 deletions
diff --git a/libindicator/indicator-service.c b/libindicator/indicator-service.c
new file mode 100644
index 0000000..089c9ad
--- /dev/null
+++ b/libindicator/indicator-service.c
@@ -0,0 +1,58 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include "indicator-service.h"
+
+typedef struct _IndicatorServicePrivate IndicatorServicePrivate;
+
+struct _IndicatorServicePrivate {
+ int dummy;
+};
+
+#define INDICATOR_SERVICE_GET_PRIVATE(o) \
+ (G_TYPE_INSTANCE_GET_PRIVATE ((o), INDICATOR_SERVICE_TYPE, IndicatorServicePrivate))
+
+static void indicator_service_class_init (IndicatorServiceClass *klass);
+static void indicator_service_init (IndicatorService *self);
+static void indicator_service_dispose (GObject *object);
+static void indicator_service_finalize (GObject *object);
+
+G_DEFINE_TYPE (IndicatorService, indicator_service, G_TYPE_OBJECT);
+
+static void
+indicator_service_class_init (IndicatorServiceClass *klass)
+{
+ GObjectClass *object_class = G_OBJECT_CLASS (klass);
+
+ g_type_class_add_private (klass, sizeof (IndicatorServicePrivate));
+
+ object_class->dispose = indicator_service_dispose;
+ object_class->finalize = indicator_service_finalize;
+
+
+ return;
+}
+
+static void
+indicator_service_init (IndicatorService *self)
+{
+
+ return;
+}
+
+static void
+indicator_service_dispose (GObject *object)
+{
+
+ G_OBJECT_CLASS (indicator_service_parent_class)->dispose (object);
+ return;
+}
+
+static void
+indicator_service_finalize (GObject *object)
+{
+
+ G_OBJECT_CLASS (indicator_service_parent_class)->finalize (object);
+ return;
+}