]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-dispatcher.h
Add a simple abstraction for implementing handlers
[empathy.git] / libempathy / empathy-dispatcher.h
index 41a1430fb9996fdb50e42938793c64d8772575f9..c4daa60fd9f8ff7c369c8d017c72ee3da6f00d01 100644 (file)
@@ -26,7 +26,6 @@
 #include <gio/gio.h>
 
 #include <telepathy-glib/channel.h>
-#include <telepathy-glib/dbus-properties-mixin.h>
 
 #include "empathy-contact.h"
 #include "empathy-dispatch-operation.h"
@@ -52,7 +51,6 @@ struct _EmpathyDispatcher
 struct _EmpathyDispatcherClass
 {
  GObjectClass parent_class;
- TpDBusPropertiesMixinClass dbus_props_class;
 };
 
 /* Will be called when the channel is ready for dispatching. The requestor
@@ -98,6 +96,11 @@ GList * empathy_dispatcher_find_requestable_channel_classes
      const gchar *channel_type, guint handle_type,
      const char *first_property_name, ...);
 
+/* Create the dispatcher singleton */
+EmpathyDispatcher * empathy_dispatcher_new (const gchar *name,
+  GPtrArray *filters,
+  GStrv capabilities);
+
 /* Get the dispatcher singleton */
 EmpathyDispatcher *    empathy_dispatcher_dup_singleton (void);