aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-roster-item.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-05-24 22:24:13 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-06-14 15:21:47 +0800
commit2f9c2d7e591b876ac6c52953b687308b8aa06fe6 (patch)
treeb79927165f41097dbf0925dc97accf40c72763f0 /libempathy-gtk/empathy-roster-item.h
parent1a11cdd2f0e8ee312d0857db9a12da416f0adce9 (diff)
downloadgsoc2013-empathy-2f9c2d7e591b876ac6c52953b687308b8aa06fe6.tar
gsoc2013-empathy-2f9c2d7e591b876ac6c52953b687308b8aa06fe6.tar.gz
gsoc2013-empathy-2f9c2d7e591b876ac6c52953b687308b8aa06fe6.tar.bz2
gsoc2013-empathy-2f9c2d7e591b876ac6c52953b687308b8aa06fe6.tar.lz
gsoc2013-empathy-2f9c2d7e591b876ac6c52953b687308b8aa06fe6.tar.xz
gsoc2013-empathy-2f9c2d7e591b876ac6c52953b687308b8aa06fe6.tar.zst
gsoc2013-empathy-2f9c2d7e591b876ac6c52953b687308b8aa06fe6.zip
roster-item: track if individual is online or not
We cache the online status as we want to refresh the contact list only when the contact becomes online/offline, not each time his presence changes.
Diffstat (limited to 'libempathy-gtk/empathy-roster-item.h')
-rw-r--r--libempathy-gtk/empathy-roster-item.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-roster-item.h b/libempathy-gtk/empathy-roster-item.h
index b52fdb844..2b0b8cbdc 100644
--- a/libempathy-gtk/empathy-roster-item.h
+++ b/libempathy-gtk/empathy-roster-item.h
@@ -51,6 +51,8 @@ GtkWidget * empathy_roster_item_new (FolksIndividual *individual);
FolksIndividual * empathy_roster_item_get_individual (EmpathyRosterItem *self);
+gboolean empathy_roster_item_is_online (EmpathyRosterItem *self);
+
G_END_DECLS
#endif /* #ifndef __EMPATHY_ROSTER_ITEM_H__*/