[Telepathy] Contact management
Xavier Claessens
xclaesse at gmail.com
Sat Jul 12 05:44:53 PDT 2008
Hello,
Just like that:
factory = empathy_contact_factory_new ();
contact = empathy_contact_factory_get_from_handle (factory, account,
"user at jabber.org");
manager = empathy_contact_manager_new();
empathy_contact_list_add (manager, contact, "Hello guy!");
Note that the contact manager implements the EmpathyContactList
interface with functionnality to add/remove contacts.
Thanks for using libempathy :D
Xavier Claessens.
Le samedi 12 juillet 2008 à 10:38 +0300, Deniz Koçak a écrit :
> Hi,
>
> I want implement add/remove contact feature and I use libempathy-gtk
> contact-list-view/contact-list-store objects. I wonder how can I
> add/remove a contact with libempathy, or is it more beneficial to
> implement it from scratch with telepathy-glib. Thanks in advance.
> _______________________________________________
> Telepathy mailing list
> Telepathy at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/telepathy
More information about the Telepathy
mailing list