aboutsummaryrefslogtreecommitdiff
path: root/src/accounts-service.h
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.h
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.h')
-rw-r--r--src/accounts-service.h32
1 files changed, 32 insertions, 0 deletions
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