]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-roster-contact.h
Be more compatible with Facebook emoticon codes
[empathy.git] / libempathy-gtk / empathy-roster-contact.h
index 09a791874226c92a5dea6ee7e16a32d05b8bb263..6e05959f731ca3e97d1f12b5998ff3d41b351aad 100644 (file)
@@ -13,13 +13,13 @@ typedef struct _EmpathyRosterContactPriv EmpathyRosterContactPriv;
 struct _EmpathyRosterContactClass
 {
   /*<private>*/
-  GtkAlignmentClass parent_class;
+  GtkListBoxRowClass parent_class;
 };
 
 struct _EmpathyRosterContact
 {
   /*<private>*/
-  GtkAlignment parent;
+  GtkListBoxRow parent;
   EmpathyRosterContactPriv *priv;
 };
 
@@ -47,12 +47,21 @@ GType empathy_roster_contact_get_type (void);
     EMPATHY_TYPE_ROSTER_CONTACT, \
     EmpathyRosterContactClass))
 
-GtkWidget * empathy_roster_contact_new (FolksIndividual *individual);
+GtkWidget * empathy_roster_contact_new (FolksIndividual *individual,
+    const gchar *group);
 
 FolksIndividual * empathy_roster_contact_get_individual (EmpathyRosterContact *self);
 
+const gchar * empathy_roster_contact_get_group (EmpathyRosterContact *self);
+
 gboolean empathy_roster_contact_is_online (EmpathyRosterContact *self);
 
+void empathy_roster_contact_set_event_icon (EmpathyRosterContact *self,
+    const gchar *icon);
+
+GdkPixbuf * empathy_roster_contact_get_avatar_pixbuf (
+    EmpathyRosterContact *self);
+
 G_END_DECLS
 
 #endif /* #ifndef __EMPATHY_ROSTER_CONTACT_H__*/