]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-contact.h
Add empathy_contact_new_static() to create a contact that comes from logs
[empathy.git] / libempathy / empathy-contact.h
index 11f329ee5ff0109bd558dcf9753903c316ec8eb5..0fab90462b9fac6119084dc86b4e69bb8067a42f 100644 (file)
@@ -68,6 +68,8 @@ typedef enum {
 
 GType empathy_contact_get_type (void) G_GNUC_CONST;
 EmpathyContact * empathy_contact_new (TpContact *tp_contact);
 
 GType empathy_contact_get_type (void) G_GNUC_CONST;
 EmpathyContact * empathy_contact_new (TpContact *tp_contact);
+EmpathyContact * empathy_contact_new_static (McAccount *account,
+    const gchar *id, const gchar *name, gboolean is_user);
 TpContact * empathy_contact_get_tp_contact (EmpathyContact *contact);
 const gchar * empathy_contact_get_id (EmpathyContact *contact);
 void empathy_contact_set_id (EmpathyContact *contact, const gchar *id);
 TpContact * empathy_contact_get_tp_contact (EmpathyContact *contact);
 const gchar * empathy_contact_get_id (EmpathyContact *contact);
 void empathy_contact_set_id (EmpathyContact *contact, const gchar *id);