summaryrefslogtreecommitdiff
path: root/telepathy-glib/proxy.h
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-12-17 21:28:00 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2007-12-17 21:28:00 +0000
commitbfdedc9109c4d0cc5b9b2301211f8c84d91f8a66 (patch)
treef182722df7e6c19115398d7be4c5e11aeb5f8653 /telepathy-glib/proxy.h
parent04dd7466a09523c936c829e4ee5919752b36f7d0 (diff)
downloadtelepathy-glib-bfdedc9109c4d0cc5b9b2301211f8c84d91f8a66.tar.gz
Avoid exposing contents of TpProxyPendingCall structure directly, in an attempt to be API-compatible with future versions
20071217212800-53eee-8740e6bd9d35e76e23422f242369c872b9b9aa1e.gz
Diffstat (limited to 'telepathy-glib/proxy.h')
-rw-r--r--telepathy-glib/proxy.h20
1 files changed, 6 insertions, 14 deletions
diff --git a/telepathy-glib/proxy.h b/telepathy-glib/proxy.h
index b39e8ffda..66dc2143f 100644
--- a/telepathy-glib/proxy.h
+++ b/telepathy-glib/proxy.h
@@ -65,20 +65,6 @@ struct _TpProxyClass {
typedef struct _TpProxyPendingCall TpProxyPendingCall;
-struct _TpProxyPendingCall {
- /*<public>*/
- TpProxy *proxy;
- GQuark interface;
- gchar *member;
- GCallback callback;
- gpointer user_data;
- GDestroyNotify destroy;
- GObject *weak_object;
- DBusGProxyCall *pending_call;
- void (*raise_error) (TpProxyPendingCall *);
- gconstpointer priv;
-};
-
TpProxyPendingCall *tp_proxy_pending_call_new (TpProxy *self,
GQuark interface, const gchar *member, GCallback callback,
gpointer user_data, GDestroyNotify destroy, GObject *weak_object,
@@ -88,6 +74,12 @@ void tp_proxy_pending_call_free (gpointer self);
void tp_proxy_pending_call_cancel (TpProxyPendingCall *self);
+GCallback tp_proxy_pending_call_steal_callback (TpProxyPendingCall *self,
+ TpProxy **proxy_out, gpointer *user_data_out, GObject **weak_object_out);
+
+void tp_proxy_pending_call_take_pending_call (TpProxyPendingCall *self,
+ DBusGProxyCall *pending_call);
+
typedef struct _TpProxySignalConnection TpProxySignalConnection;
struct _TpProxySignalConnection {