aboutsummaryrefslogtreecommitdiff
path: root/src/accounts-service.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-09-17 10:50:09 -0500
committerTed Gould <ted@gould.cx>2014-09-17 10:50:09 -0500
commit8513894ecfa89da5e919b8c4cc2174fcae49c599 (patch)
tree4ecbc41cea59f161d445ca3fca74627d5260bca1 /src/accounts-service.c
parentb3f2f2c8c75f853fe16f6d677daae66d7e931e98 (diff)
downloadayatana-indicator-messages-8513894ecfa89da5e919b8c4cc2174fcae49c599.tar.gz
ayatana-indicator-messages-8513894ecfa89da5e919b8c4cc2174fcae49c599.tar.bz2
ayatana-indicator-messages-8513894ecfa89da5e919b8c4cc2174fcae49c599.zip
A class wrapper for all the accounts service brewhaha
Diffstat (limited to 'src/accounts-service.c')
-rw-r--r--src/accounts-service.c56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/accounts-service.c b/src/accounts-service.c
new file mode 100644
index 0000000..15cc208
--- /dev/null
+++ b/src/accounts-service.c
@@ -0,0 +1,56 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include "accounts-service.h"
+
+typedef struct _AccountsServicePrivate AccountsServicePrivate;
+
+struct _AccountsServicePrivate {
+ int dummy;
+};
+
+#define ACCOUNTS_SERVICE_GET_PRIVATE(o) \
+(G_TYPE_INSTANCE_GET_PRIVATE ((o), ACCOUNTS_SERVICE_TYPE, AccountsServicePrivate))
+
+static void accounts_service_class_init (AccountsServiceClass *klass);
+static void accounts_service_init (AccountsService *self);
+static void accounts_service_dispose (GObject *object);
+static void accounts_service_finalize (GObject *object);
+
+G_DEFINE_TYPE (AccountsService, accounts_service, G_TYPE_OBJECT);
+
+static void
+accounts_service_class_init (AccountsServiceClass *klass)
+{
+ GObjectClass *object_class = G_OBJECT_CLASS (klass);
+
+ g_type_class_add_private (klass, sizeof (AccountsServicePrivate));
+
+ object_class->dispose = accounts_service_dispose;
+ object_class->finalize = accounts_service_finalize;
+}
+
+static void
+accounts_service_init (AccountsService *self)
+{
+}
+
+static void
+accounts_service_dispose (GObject *object)
+{
+ G_OBJECT_CLASS (accounts_service_parent_class)->dispose (object);
+}
+
+static void
+accounts_service_finalize (GObject *object)
+{
+ G_OBJECT_CLASS (accounts_service_parent_class)->finalize (object);
+}
+
+AccountsService *
+accounts_service_ref_default (void)
+{
+
+ return NULL;
+}