aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-contact.h
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-01-10 00:11:48 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-10 00:11:48 +0800
commit19dc1bdbd665f4ce79ec186294618218f65be49f (patch)
treee5c62c5a8cf7b46d4b5f469e6297482b0018f818 /libempathy/empathy-contact.h
parent56524fbc916e872c70465dec7c1cf5b59e066fb5 (diff)
downloadgsoc2013-empathy-19dc1bdbd665f4ce79ec186294618218f65be49f.tar
gsoc2013-empathy-19dc1bdbd665f4ce79ec186294618218f65be49f.tar.gz
gsoc2013-empathy-19dc1bdbd665f4ce79ec186294618218f65be49f.tar.bz2
gsoc2013-empathy-19dc1bdbd665f4ce79ec186294618218f65be49f.tar.lz
gsoc2013-empathy-19dc1bdbd665f4ce79ec186294618218f65be49f.tar.xz
gsoc2013-empathy-19dc1bdbd665f4ce79ec186294618218f65be49f.tar.zst
gsoc2013-empathy-19dc1bdbd665f4ce79ec186294618218f65be49f.zip
Add empathy_contact_call_when_ready
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2126
Diffstat (limited to 'libempathy/empathy-contact.h')
-rw-r--r--libempathy/empathy-contact.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libempathy/empathy-contact.h b/libempathy/empathy-contact.h
index d8a1a791f..19f15c3c5 100644
--- a/libempathy/empathy-contact.h
+++ b/libempathy/empathy-contact.h
@@ -112,14 +112,23 @@ gboolean empathy_contact_can_voip (EmpathyContact *contact);
gboolean empathy_contact_can_send_files (EmpathyContact *contact);
gboolean empathy_contact_equal (gconstpointer v1, gconstpointer v2);
guint empathy_contact_hash (gconstpointer key);
+
+typedef void (EmpathyContactReadyCb)
+ (EmpathyContact *contact, gpointer user_data);
+void empathy_contact_call_when_ready (EmpathyContact *contact,
+ EmpathyContactReady ready, EmpathyContactReadyCb *callback, gpointer
+ user_data);
+
void empathy_contact_run_until_ready (EmpathyContact *contact,
EmpathyContactReady ready, GMainLoop **loop);
+
void empathy_contact_load_avatar_data (EmpathyContact *contact,
const guchar *data, const gsize len, const gchar *format,
const gchar *token);
gboolean empathy_contact_load_avatar_cache (EmpathyContact *contact,
const gchar *token);
+
#define EMPATHY_TYPE_AVATAR (empathy_avatar_get_type ())
GType empathy_avatar_get_type (void) G_GNUC_CONST;
EmpathyAvatar * empathy_avatar_new (guchar *data,