aboutsummaryrefslogtreecommitdiff
path: root/src/custom-service-appstore.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-28 15:12:46 -0500
committerTed Gould <ted@canonical.com>2009-10-28 15:12:46 -0500
commit8903841582ea26b4987fbe04b5a5545d8d65f729 (patch)
tree18baa1938f6d2870fc6bc2a9e12ed35622231d2e /src/custom-service-appstore.c
parentecf44bf6a995071c7f0e5760dc3ed03542b993a0 (diff)
downloadayatana-indicator-application-8903841582ea26b4987fbe04b5a5545d8d65f729.tar.gz
ayatana-indicator-application-8903841582ea26b4987fbe04b5a5545d8d65f729.tar.bz2
ayatana-indicator-application-8903841582ea26b4987fbe04b5a5545d8d65f729.zip
Boom! Now we're implementing dbus.
Diffstat (limited to 'src/custom-service-appstore.c')
-rw-r--r--src/custom-service-appstore.c56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/custom-service-appstore.c b/src/custom-service-appstore.c
index c1bc345..7f88d46 100644
--- a/src/custom-service-appstore.c
+++ b/src/custom-service-appstore.c
@@ -4,6 +4,18 @@
#include "custom-service-appstore.h"
+/* DBus Prototypes */
+static gboolean _custom_service_server_get_applications (CustomServiceAppstore * appstore, GArray ** apps, gpointer user_data);
+
+static gboolean _notification_watcher_server_register_service (CustomServiceAppstore * appstore, const gchar * service, gpointer user_data);
+static gboolean _notification_watcher_server_registered_services (CustomServiceAppstore * appstore, GArray ** apps, gpointer user_data);
+static gboolean _notification_watcher_server_protocol_version (CustomServiceAppstore * appstore, char ** version, gpointer user_data);
+static gboolean _notification_watcher_server_register_notification_host (CustomServiceAppstore * appstore, const gchar * host, gpointer user_data);
+static gboolean _notification_watcher_server_is_notification_host_registered (CustomServiceAppstore * appstore, gboolean * haveHost, gpointer user_data);
+
+#include "custom-service-server.h"
+#include "notification-watcher-server.h"
+
typedef struct _CustomServiceAppstorePrivate CustomServiceAppstorePrivate;
struct _CustomServiceAppstorePrivate {
@@ -55,3 +67,47 @@ custom_service_appstore_finalize (GObject *object)
G_OBJECT_CLASS (custom_service_appstore_parent_class)->finalize (object);
return;
}
+
+/* DBus Interface */
+static gboolean
+_custom_service_server_get_applications (CustomServiceAppstore * appstore, GArray ** apps, gpointer user_data)
+{
+
+ return FALSE;
+}
+
+static gboolean
+_notification_watcher_server_register_service (CustomServiceAppstore * appstore, const gchar * service, gpointer user_data)
+{
+
+ return FALSE;
+}
+
+static gboolean
+_notification_watcher_server_registered_services (CustomServiceAppstore * appstore, GArray ** apps, gpointer user_data)
+{
+
+ return FALSE;
+}
+
+static gboolean
+_notification_watcher_server_protocol_version (CustomServiceAppstore * appstore, char ** version, gpointer user_data)
+{
+
+ return FALSE;
+}
+
+static gboolean
+_notification_watcher_server_register_notification_host (CustomServiceAppstore * appstore, const gchar * host, gpointer user_data)
+{
+
+ return FALSE;
+}
+
+static gboolean
+_notification_watcher_server_is_notification_host_registered (CustomServiceAppstore * appstore, gboolean * haveHost, gpointer user_data)
+{
+
+ return FALSE;
+}
+