aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-dispatcher.h
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-30 00:10:04 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-31 00:28:46 +0800
commit40f2188129d8fc2d8d718adea0bb3c417013465d (patch)
tree561324edc77b8a7694a8f01d519e6280ff2b77c8 /libempathy/empathy-dispatcher.h
parentb3acc55a8c6401de41cfc320081e1aa0be17c27a (diff)
downloadgsoc2013-empathy-40f2188129d8fc2d8d718adea0bb3c417013465d.tar
gsoc2013-empathy-40f2188129d8fc2d8d718adea0bb3c417013465d.tar.gz
gsoc2013-empathy-40f2188129d8fc2d8d718adea0bb3c417013465d.tar.bz2
gsoc2013-empathy-40f2188129d8fc2d8d718adea0bb3c417013465d.tar.lz
gsoc2013-empathy-40f2188129d8fc2d8d718adea0bb3c417013465d.tar.xz
gsoc2013-empathy-40f2188129d8fc2d8d718adea0bb3c417013465d.tar.zst
gsoc2013-empathy-40f2188129d8fc2d8d718adea0bb3c417013465d.zip
Add functions on the dispatcher to add/remove extra handlers
Diffstat (limited to 'libempathy/empathy-dispatcher.h')
-rw-r--r--libempathy/empathy-dispatcher.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libempathy/empathy-dispatcher.h b/libempathy/empathy-dispatcher.h
index c4daa60fd..6176ea088 100644
--- a/libempathy/empathy-dispatcher.h
+++ b/libempathy/empathy-dispatcher.h
@@ -28,6 +28,7 @@
#include <telepathy-glib/channel.h>
#include "empathy-contact.h"
+#include "empathy-handler.h"
#include "empathy-dispatch-operation.h"
G_BEGIN_DECLS
@@ -101,6 +102,16 @@ EmpathyDispatcher * empathy_dispatcher_new (const gchar *name,
GPtrArray *filters,
GStrv capabilities);
+EmpathyHandler *
+empathy_dispatcher_add_handler (EmpathyDispatcher *dispatcher,
+ const gchar *name,
+ GPtrArray *filters,
+ GStrv capabilities);
+
+void
+empathy_dispatcher_remove_handler (EmpathyDispatcher *dispatcher,
+ EmpathyHandler *handler);
+
/* Get the dispatcher singleton */
EmpathyDispatcher * empathy_dispatcher_dup_singleton (void);