aboutsummaryrefslogtreecommitdiff
path: root/src/status-service-dbus.h
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-06-12 16:56:08 -0500
committerTed Gould <ted@canonical.com>2009-06-12 16:56:08 -0500
commit9eb765152122a08ddfa95b150d9a7d5c46559356 (patch)
treef6b919a96d5dd4b92e8840c11e6afde8661b6ec1 /src/status-service-dbus.h
parent35477b8fb1bd21c4cccf039c4648af47972414a9 (diff)
downloadayatana-indicator-session-9eb765152122a08ddfa95b150d9a7d5c46559356.tar.gz
ayatana-indicator-session-9eb765152122a08ddfa95b150d9a7d5c46559356.tar.bz2
ayatana-indicator-session-9eb765152122a08ddfa95b150d9a7d5c46559356.zip
A quickly little object to put itself on DBus.
Diffstat (limited to 'src/status-service-dbus.h')
-rw-r--r--src/status-service-dbus.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/status-service-dbus.h b/src/status-service-dbus.h
new file mode 100644
index 0000000..1805dc5
--- /dev/null
+++ b/src/status-service-dbus.h
@@ -0,0 +1,31 @@
+#ifndef __STATUS_SERVICE_DBUS_H__
+#define __STATUS_SERVICE_DBUS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+G_BEGIN_DECLS
+
+#define STATUS_SERVICE_DBUS_TYPE (status_service_dbus_get_type ())
+#define STATUS_SERVICE_DBUS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), STATUS_SERVICE_DBUS_TYPE, StatusServiceDbus))
+#define STATUS_SERVICE_DBUS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), STATUS_SERVICE_DBUS_TYPE, StatusServiceDbusClass))
+#define IS_STATUS_SERVICE_DBUS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), STATUS_SERVICE_DBUS_TYPE))
+#define IS_STATUS_SERVICE_DBUS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), STATUS_SERVICE_DBUS_TYPE))
+#define STATUS_SERVICE_DBUS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), STATUS_SERVICE_DBUS_TYPE, StatusServiceDbusClass))
+
+typedef struct _StatusServiceDbus StatusServiceDbus;
+typedef struct _StatusServiceDbusClass StatusServiceDbusClass;
+
+struct _StatusServiceDbusClass {
+ GObjectClass parent_class;
+};
+
+struct _StatusServiceDbus {
+ GObject parent;
+};
+
+GType status_service_dbus_get_type (void);
+
+G_END_DECLS
+
+#endif