diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-04-27 14:14:44 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-05-12 12:40:16 +0200 |
commit | 28d3db1f6ef2481ddeb40bb3b141b3f68070a1dc (patch) | |
tree | d918e221699a76e0898bea781cf82e0ef74a7d3b /telepathy-glib/proxy.c | |
parent | 55b12c5bf85c2cbee872f9ab39568843336826f9 (diff) | |
download | telepathy-glib-28d3db1f6ef2481ddeb40bb3b141b3f68070a1dc.tar.gz |
Move TpProxyFeature as public API (#31583)
Diffstat (limited to 'telepathy-glib/proxy.c')
-rw-r--r-- | telepathy-glib/proxy.c | 32 |
1 files changed, 29 insertions, 3 deletions
diff --git a/telepathy-glib/proxy.c b/telepathy-glib/proxy.c index 7be78d10f..b64e9190d 100644 --- a/telepathy-glib/proxy.c +++ b/telepathy-glib/proxy.c @@ -208,10 +208,36 @@ tp_dbus_errors_quark (void) */ /** + * TpProxyPrepareAsync: + * @proxy: the object on which @feature has to be prepared + * @feature: a #GQuark representing the feature to prepare + * @callback: called when the feature has been prepared, or the preparation + * failed + * @user_data: data to pass to @callback + * + * Function called when @feature has to be prepared for @proxy. + */ + +/** * TpProxyFeature: - * - * Structure representing a feature. This is currently opaque to code outside - * telepathy-glib itself. + * @name: a #GQuark representing the name of the feature + * @core: if %TRUE, every non-core feature of the class depends on this one, + * and every feature (core or not) in subclasses depends on this one + * @prepare_async: called when the feature has to be prepared + * @prepare_before_signalling_connected_async: only relevant for + * TpConnection sub-classes; same as @prepare_async but for + * features wanting to have a chance to prepare themself before the + * TpConnection object announce its %TP_CONNECTION_STATUS_CONNECTED status + * @interfaces_needed: an array of #GQuark representing interfaces which have + * to be implemented on the object in order to be able to prepare the feature + * @depends_on: an array of #GQuark representing other features which have to + * be prepared before trying to prepare this feature + * @can_retry: If %TRUE, allow retrying preparation of this feature even if it + * failed once already; if %FALSE any attempt of preparing the feature after + * the preparation already failed once will immediately fail with re-calling + * @prepare_async + * + * Structure representing a feature. * * Since: 0.11.3 */ |