summaryrefslogtreecommitdiff
path: root/telepathy-glib/base-client.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-05-03 14:52:00 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-05-07 15:33:49 +0200
commit926789f750d10ca7c2eeea8301b296101feaea2f (patch)
tree21c367d23fa0c3d2ff89748b5278b5117820bfd4 /telepathy-glib/base-client.h
parent22aecb02672ebdb5aec5be4aadca2ec0b306eaf4 (diff)
downloadtelepathy-glib-926789f750d10ca7c2eeea8301b296101feaea2f.tar.gz
base-client: add API to implement AddDispatchOperation()
Diffstat (limited to 'telepathy-glib/base-client.h')
-rw-r--r--telepathy-glib/base-client.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/telepathy-glib/base-client.h b/telepathy-glib/base-client.h
index 41efc5daf..29d8ce2f6 100644
--- a/telepathy-glib/base-client.h
+++ b/telepathy-glib/base-client.h
@@ -25,6 +25,7 @@
#include <glib-object.h>
#include <telepathy-glib/account.h>
+#include <telepathy-glib/add-dispatch-operation-context.h>
#include <telepathy-glib/observe-channels-context.h>
#include <telepathy-glib/channel-dispatch-operation.h>
#include <telepathy-glib/connection.h>
@@ -69,6 +70,17 @@ typedef void (*TpBaseClientClassObserveChannelsImpl) (
void tp_base_client_implement_observe_channels (TpBaseClientClass *klass,
TpBaseClientClassObserveChannelsImpl impl);
+typedef void (*TpBaseClientClassAddDispatchOperationImpl) (
+ TpBaseClient *client,
+ TpAccount *account,
+ TpConnection *connection,
+ GList *channels,
+ TpChannelDispatchOperation *dispatch_operation,
+ TpAddDispatchOperationContext *context);
+
+void tp_base_client_implement_add_dispatch_operation (TpBaseClientClass *klass,
+ TpBaseClientClassAddDispatchOperationImpl impl);
+
/* setup functions which can only be called before register() */
void tp_base_client_add_observer_filter (TpBaseClient *self,