aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
-rw-r--r--src/accounts-service.c56
-rw-r--r--src/accounts-service.h32
3 files changed, 90 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index bc674c2..184e9b2 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -5,6 +5,8 @@ pkglibexec_PROGRAMS = indicator-messages-service
indicator_messages_service_SOURCES = \
messages-service.c \
+ accounts-service.c \
+ accounts-service.h \
dbus-data.h \
gactionmuxer.c \
gactionmuxer.h \
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;
+}
diff --git a/src/accounts-service.h b/src/accounts-service.h
new file mode 100644
index 0000000..03c91fe
--- /dev/null
+++ b/src/accounts-service.h
@@ -0,0 +1,32 @@
+#ifndef __ACCOUNTS_SERVICE_H__
+#define __ACCOUNTS_SERVICE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+G_BEGIN_DECLS
+
+#define ACCOUNTS_SERVICE_TYPE (accounts_service_get_type ())
+#define ACCOUNTS_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ACCOUNTS_SERVICE_TYPE, AccountsService))
+#define ACCOUNTS_SERVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ACCOUNTS_SERVICE_TYPE, AccountsServiceClass))
+#define IS_ACCOUNTS_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ACCOUNTS_SERVICE_TYPE))
+#define IS_ACCOUNTS_SERVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ACCOUNTS_SERVICE_TYPE))
+#define ACCOUNTS_SERVICE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ACCOUNTS_SERVICE_TYPE, AccountsServiceClass))
+
+typedef struct _AccountsService AccountsService;
+typedef struct _AccountsServiceClass AccountsServiceClass;
+
+struct _AccountsServiceClass {
+ GObjectClass parent_class;
+};
+
+struct _AccountsService {
+ GObject parent;
+};
+
+GType accounts_service_get_type (void);
+AccountsService * accounts_service_ref_default (void);
+
+G_END_DECLS
+
+#endif