[Bug 29456] TpAccountChannelRequest: fire-and-forget channel request helpers
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Aug 9 16:17:56 CEST 2010
https://bugs.freedesktop.org/show_bug.cgi?id=29456
--- Comment #1 from Guillaume Desmottes <guillaume.desmottes at collabora.co.uk> 2010-08-09 07:17:56 PDT ---
I guess the "fire and forget" API should be something like that:
void tp_account_channel_request_create_channel_async (
TpAccountChannelRequest *self,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean tp_account_channel_request_create_channel_finish (
TpAccountChannelRequest *self,
GAsyncResult *result,
GError **error);
+ the _ensure_ equivalents.
The operation succeed once the ChannelRequest fired the Suceeded or Failed
signal.
The "fire and observe" case could be something like:
void tp_account_channel_request_create_and_observe_channel_async (
TpAccountChannelRequest *self,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
TpChannel * tp_account_channel_request_create_and_observe_channel_finish (
TpAccountChannelRequest *self,
GAsyncResult *result,
TpHandleChannelsContext **context,
GError **error) G_GNUC_WARN_UNUSED_RESULT;
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the telepathy-bugs
mailing list