aboutsummaryrefslogtreecommitdiff
path: root/src/messages-service-dbus.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-08-25 22:08:41 -0500
committerTed Gould <ted@canonical.com>2009-08-25 22:08:41 -0500
commite7695d9f9da90e12aaefe490e46e18d3b32f33dd (patch)
treefe7f9dd227e54fc7b128b604494c98b4199b12e1 /src/messages-service-dbus.c
parent8601a2b19bdb2352b1830888f982978a447dbeec (diff)
downloadayatana-indicator-messages-e7695d9f9da90e12aaefe490e46e18d3b32f33dd.tar.gz
ayatana-indicator-messages-e7695d9f9da90e12aaefe490e46e18d3b32f33dd.tar.bz2
ayatana-indicator-messages-e7695d9f9da90e12aaefe490e46e18d3b32f33dd.zip
Building an object to represent the service over DBus.
Diffstat (limited to 'src/messages-service-dbus.c')
-rw-r--r--src/messages-service-dbus.c84
1 files changed, 84 insertions, 0 deletions
diff --git a/src/messages-service-dbus.c b/src/messages-service-dbus.c
new file mode 100644
index 0000000..6fa2125
--- /dev/null
+++ b/src/messages-service-dbus.c
@@ -0,0 +1,84 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include "messages-service-dbus.h"
+
+typedef struct _MessageServiceDbusPrivate MessageServiceDbusPrivate;
+
+struct _MessageServiceDbusPrivate
+{
+ guint temp;
+};
+
+#define MESSAGE_SERVICE_DBUS_GET_PRIVATE(o) \
+(G_TYPE_INSTANCE_GET_PRIVATE ((o), MESSAGE_SERVICE_DBUS_TYPE, MessageServiceDbusPrivate))
+
+static void message_service_dbus_class_init (MessageServiceDbusClass *klass);
+static void message_service_dbus_init (MessageServiceDbus *self);
+static void message_service_dbus_dispose (GObject *object);
+static void message_service_dbus_finalize (GObject *object);
+
+static void _messages_service_server_watch (void);
+static void _messages_service_server_attention_requested (void);
+static void _messages_service_server_icon_shown (void);
+
+#include "messages-service-server.h"
+
+G_DEFINE_TYPE (MessageServiceDbus, message_service_dbus, G_TYPE_OBJECT);
+
+static void
+message_service_dbus_class_init (MessageServiceDbusClass *klass)
+{
+ GObjectClass *object_class = G_OBJECT_CLASS (klass);
+
+ g_type_class_add_private (klass, sizeof (MessageServiceDbusPrivate));
+
+ object_class->dispose = message_service_dbus_dispose;
+ object_class->finalize = message_service_dbus_finalize;
+
+ return;
+}
+
+static void
+message_service_dbus_init (MessageServiceDbus *self)
+{
+ return;
+}
+
+static void
+message_service_dbus_dispose (GObject *object)
+{
+
+
+ G_OBJECT_CLASS (message_service_dbus_parent_class)->dispose (object);
+ return;
+}
+
+static void
+message_service_dbus_finalize (GObject *object)
+{
+
+
+ G_OBJECT_CLASS (message_service_dbus_parent_class)->finalize (object);
+ return;
+}
+
+static void
+_messages_service_server_watch (void)
+{
+
+}
+
+static void
+_messages_service_server_attention_requested (void)
+{
+
+}
+
+static void
+_messages_service_server_icon_shown (void)
+{
+
+}
+