]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-contact.h
local-xmpp-assistant-widget: increase row-spacing
[empathy.git] / libempathy / empathy-contact.h
index 16b50e500c4907472cb114b5dcde189e26413129..d90ea2ad4722a8c8baf68d5871b505ddbe020cb9 100644 (file)
@@ -77,6 +77,7 @@ EmpathyContact * empathy_contact_from_tpl_contact (TpAccount *account,
 TpContact * empathy_contact_get_tp_contact (EmpathyContact *contact);
 const gchar * empathy_contact_get_id (EmpathyContact *contact);
 const gchar * empathy_contact_get_alias (EmpathyContact *contact);
+const gchar * empathy_contact_get_logged_alias (EmpathyContact *contact);
 void empathy_contact_set_alias (EmpathyContact *contact, const gchar *alias);
 void empathy_contact_change_group (EmpathyContact *contact, const gchar *group,
     gboolean is_member);
@@ -117,10 +118,10 @@ gboolean empathy_contact_can_do_action (EmpathyContact *self,
 
 #define EMPATHY_TYPE_AVATAR (empathy_avatar_get_type ())
 GType empathy_avatar_get_type (void) G_GNUC_CONST;
-EmpathyAvatar * empathy_avatar_new (guchar *data,
+EmpathyAvatar * empathy_avatar_new (const guchar *data,
     gsize len,
-    gchar *format,
-    gchar *filename);
+    const gchar *format,
+    const gchar *filename);
 EmpathyAvatar * empathy_avatar_ref (EmpathyAvatar *avatar);
 void empathy_avatar_unref (EmpathyAvatar *avatar);
 
@@ -137,6 +138,11 @@ EmpathyContact * empathy_contact_dup_best_for_action (
     FolksIndividual *individual,
     EmpathyActionType action_type);
 
+void empathy_contact_add_to_contact_list (EmpathyContact *self,
+    const gchar *message);
+
+void empathy_contact_remove_from_contact_list (EmpathyContact *self);
+
 G_END_DECLS
 
 #endif /* __EMPATHY_CONTACT_H__ */