[Bug 27671] ContactInfo high-level API

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Apr 30 23:08:57 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=27671

--- Comment #3 from Andre Moreira Magalhaes <andrunko at gmail.com> 2010-04-30 14:08:57 PDT ---
Description of changes:
- Added FeatureInfo to Tp::Contact that will use the contact-attribute
ContactInfo/info to retrieve the cached info and connect to ContactInfoChanged.
- Added Tp::Contact::refreshInfo to force information refresh (depends on
FeatureInfo to be enabled cause the update is signalled using
ContactInfoChanged which is only handled when FeatureInfo is enabled).
- Added Tp::Contact::requestInfo to request a info without using FeatureInfo.
There is no change notification if FeatureInfo is not enabled)
- Patched contacts-conn example cm to support the ContactInfo iface (will file
a bug against tp-glib to merge it once this is approved)
- Used the modified version of contacts-conn to write the tests

Note that I used info to represent ContactInfo as it's already inside Contact,
so Contact::contactInfo is redundant. The same is used for ContactCapabilities
where we just use capabilities for the names.

Info is too generic, maybe we want to change it to VCard or something like
this.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list