diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2008-05-01 11:02:28 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2008-05-01 11:02:28 +0000 |
commit | 0bcf123d65a83bfc322c2078ea42dc6db16c6d69 (patch) | |
tree | 45bd0e10554823bcaba46c1f8d6e8cc570b8c70a /telepathy-glib/channel.h | |
parent | 2ae91bfe608599fd111fc6228f8dc5453b771a1c (diff) | |
download | telepathy-glib-0bcf123d65a83bfc322c2078ea42dc6db16c6d69.tar.gz |
Add tp_channel_call_when_ready() (part of fd.o #15300)
20080501110228-53eee-a0bf5babf7c68d494e9334682b25d098aa79cf38.gz
Diffstat (limited to 'telepathy-glib/channel.h')
-rw-r--r-- | telepathy-glib/channel.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/telepathy-glib/channel.h b/telepathy-glib/channel.h index 9a81e8d6f..88f985f54 100644 --- a/telepathy-glib/channel.h +++ b/telepathy-glib/channel.h @@ -62,6 +62,12 @@ TpChannel *tp_channel_new (TpConnection *conn, gboolean tp_channel_run_until_ready (TpChannel *self, GError **error, GMainLoop **loop); +typedef void (*TpChannelWhenReadyCb) (TpChannel *channel, const GError *error, + gpointer user_data); + +void tp_channel_call_when_ready (TpChannel *self, + TpChannelWhenReadyCb callback, gpointer user_data); + void tp_channel_init_known_interfaces (void); G_END_DECLS |