aboutsummaryrefslogtreecommitdiff
path: root/src/status-provider.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-06-11 10:20:46 -0500
committerTed Gould <ted@canonical.com>2009-06-11 10:20:46 -0500
commit3fc5dff1de2389211bae97ba54db3c1370dbab0c (patch)
tree17644bd3a5a57ca6293aabb6306468e606702fc0 /src/status-provider.c
parent6a310124ced26f2753c32ece249ca092214b73ee (diff)
downloadayatana-indicator-session-3fc5dff1de2389211bae97ba54db3c1370dbab0c.tar.gz
ayatana-indicator-session-3fc5dff1de2389211bae97ba54db3c1370dbab0c.tar.bz2
ayatana-indicator-session-3fc5dff1de2389211bae97ba54db3c1370dbab0c.zip
Adding in the basic (generated) framework for the status provider object
Diffstat (limited to 'src/status-provider.c')
-rw-r--r--src/status-provider.c55
1 files changed, 55 insertions, 0 deletions
diff --git a/src/status-provider.c b/src/status-provider.c
new file mode 100644
index 0000000..c2f7de2
--- /dev/null
+++ b/src/status-provider.c
@@ -0,0 +1,55 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include "status-provider.h"
+
+typedef struct _StatusProviderPrivate StatusProviderPrivate;
+struct _StatusProviderPrivate {
+};
+
+#define STATUS_PROVIDER_GET_PRIVATE(o) \
+(G_TYPE_INSTANCE_GET_PRIVATE ((o), STATUS_PROVIDER_TYPE, StatusProviderPrivate))
+
+static void status_provider_class_init (StatusProviderClass *klass);
+static void status_provider_init (StatusProvider *self);
+static void status_provider_dispose (GObject *object);
+static void status_provider_finalize (GObject *object);
+
+G_DEFINE_TYPE (StatusProvider, status_provider, G_TYPE_OBJECT);
+
+static void
+status_provider_class_init (StatusProviderClass *klass)
+{
+ GObjectClass *object_class = G_OBJECT_CLASS (klass);
+
+ g_type_class_add_private (klass, sizeof (StatusProviderPrivate));
+
+ object_class->dispose = status_provider_dispose;
+ object_class->finalize = status_provider_finalize;
+
+ return;
+}
+
+static void
+status_provider_init (StatusProvider *self)
+{
+
+ return;
+}
+
+static void
+status_provider_dispose (GObject *object)
+{
+
+ G_OBJECT_CLASS (status_provider_parent_class)->dispose (object);
+ return;
+}
+
+static void
+status_provider_finalize (GObject *object)
+{
+
+ G_OBJECT_CLASS (status_provider_parent_class)->finalize (object);
+ return;
+}