diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2011-08-03 18:24:28 +0200 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2011-08-17 13:19:06 +0200 |
commit | 9fbb9a58ed465a85b382c970e0b546f118eb81cd (patch) | |
tree | 811cdc93d58fb12ed2eb4f40ba26126d50d9f3d2 /telepathy-glib/simple-approver.h | |
parent | e896dac5070c46b1ac566dd5fa646be9ebe55ee9 (diff) | |
download | telepathy-glib-9fbb9a58ed465a85b382c970e0b546f118eb81cd.tar.gz |
TpBaseClient: add constructors with factory instead of AM
A factory is what we really need, forcing to create a TpAccountManager
also means that a simple channel handler will always introspect
all accounts even if it needs only one.
With a factory, TpBaseClient can create only needed accounts and still
share them with a TpAccountManager if one exists.
Diffstat (limited to 'telepathy-glib/simple-approver.h')
-rw-r--r-- | telepathy-glib/simple-approver.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/telepathy-glib/simple-approver.h b/telepathy-glib/simple-approver.h index 6d7c46653..bf3af0408 100644 --- a/telepathy-glib/simple-approver.h +++ b/telepathy-glib/simple-approver.h @@ -87,6 +87,14 @@ TpBaseClient *tp_simple_approver_new_with_am ( gpointer user_data, GDestroyNotify destroy); +TpBaseClient *tp_simple_approver_new_with_factory ( + TpSimpleClientFactory *factory, + const gchar *name, + gboolean uniquify, + TpSimpleApproverAddDispatchOperationImpl callback, + gpointer user_data, + GDestroyNotify destroy); + G_END_DECLS #endif |