diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-05-10 17:31:14 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-05-10 17:36:53 +0800 |
commit | 1b678e4f3f233e852dded51c069e8859e16aa3d5 (patch) | |
tree | b0584f2b4f69d5d10de24296db0237fa8ee8bfba /libempathy/empathy-client-factory.h | |
parent | 746b5f4f72a6b9403ea7bd2e71a6b6cf815efc8a (diff) | |
download | gsoc2013-empathy-1b678e4f3f233e852dded51c069e8859e16aa3d5.tar gsoc2013-empathy-1b678e4f3f233e852dded51c069e8859e16aa3d5.tar.gz gsoc2013-empathy-1b678e4f3f233e852dded51c069e8859e16aa3d5.tar.bz2 gsoc2013-empathy-1b678e4f3f233e852dded51c069e8859e16aa3d5.tar.lz gsoc2013-empathy-1b678e4f3f233e852dded51c069e8859e16aa3d5.tar.xz gsoc2013-empathy-1b678e4f3f233e852dded51c069e8859e16aa3d5.tar.zst gsoc2013-empathy-1b678e4f3f233e852dded51c069e8859e16aa3d5.zip |
add empathy_client_factory_dup_contact_by_id_async()
https://bugzilla.gnome.org/show_bug.cgi?id=675597
Diffstat (limited to 'libempathy/empathy-client-factory.h')
-rw-r--r-- | libempathy/empathy-client-factory.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libempathy/empathy-client-factory.h b/libempathy/empathy-client-factory.h index c4d88e286..034f6e6fd 100644 --- a/libempathy/empathy-client-factory.h +++ b/libempathy/empathy-client-factory.h @@ -24,6 +24,9 @@ #include <telepathy-glib/telepathy-glib.h> + +#include "empathy-contact.h" + G_BEGIN_DECLS #define EMPATHY_TYPE_CLIENT_FACTORY (empathy_client_factory_get_type ()) @@ -52,5 +55,17 @@ GType empathy_client_factory_get_type (void) G_GNUC_CONST; EmpathyClientFactory * empathy_client_factory_dup (void); +void empathy_client_factory_dup_contact_by_id_async ( + EmpathyClientFactory *self, + TpConnection *connection, + const gchar *id, + GAsyncReadyCallback callback, + gpointer user_data); + +EmpathyContact * empathy_client_factory_dup_contact_by_id_finish ( + EmpathyClientFactory *self, + GAsyncResult *result, + GError **error) G_GNUC_WARN_UNUSED_RESULT; + G_END_DECLS #endif /* __EMPATHY_CLIENT_FACTORY_H__ */ |