summaryrefslogtreecommitdiff
path: root/telepathy-glib/channel-dispatch-operation.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-05-04 11:35:01 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-05-10 09:22:19 +0200
commitcbb09c486f10bad1807b23259950b1978e3c7116 (patch)
treed0083f540c3feda46df14874a22faad1463a1628 /telepathy-glib/channel-dispatch-operation.h
parent61ca4253bf27ea5c448149064bf2bda775d6e326 (diff)
downloadtelepathy-glib-cbb09c486f10bad1807b23259950b1978e3c7116.tar.gz
add tp_channel_dispatch_operation_claim_with_async() (fdo #36490)
Diffstat (limited to 'telepathy-glib/channel-dispatch-operation.h')
-rw-r--r--telepathy-glib/channel-dispatch-operation.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/telepathy-glib/channel-dispatch-operation.h b/telepathy-glib/channel-dispatch-operation.h
index 30bd11101..605f98f0d 100644
--- a/telepathy-glib/channel-dispatch-operation.h
+++ b/telepathy-glib/channel-dispatch-operation.h
@@ -23,6 +23,7 @@
#define TP_CHANNEL_DISPATCH_OPERATION_H
#include <telepathy-glib/account.h>
+#include <telepathy-glib/base-client.h>
#include <telepathy-glib/connection.h>
#include <telepathy-glib/dbus.h>
#include <telepathy-glib/defs.h>
@@ -30,8 +31,8 @@
G_BEGIN_DECLS
-typedef struct _TpChannelDispatchOperation
- TpChannelDispatchOperation;
+
+/* TpChannelDispatchOperation is defined in base-client.h */
typedef struct _TpChannelDispatchOperationClass
TpChannelDispatchOperationClass;
typedef struct _TpChannelDispatchOperationPrivate
@@ -130,6 +131,17 @@ gboolean tp_channel_dispatch_operation_handle_with_time_finish (
GAsyncResult *result,
GError **error);
+void tp_channel_dispatch_operation_claim_with_async (
+ TpChannelDispatchOperation *self,
+ TpBaseClient *client,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+
+gboolean tp_channel_dispatch_operation_claim_with_finish (
+ TpChannelDispatchOperation *self,
+ GAsyncResult *result,
+ GError **error);
+
G_END_DECLS
#include <telepathy-glib/_gen/tp-cli-channel-dispatch-operation.h>