Osso Addressbook Reference Manual | ||||
---|---|---|---|---|
OssoABookContactDetailStore; enum OssoABookContactDetailFilters; #define OSSO_ABOOK_CONTACT_DETAIL_CALL OssoABookContactDetailStore* osso_abook_contact_detail_store_new (OssoABookContact *contact, OssoABookContactDetailFilters filters); GHashTable* osso_abook_contact_detail_store_get_message_map (OssoABookContactDetailStore *self); void osso_abook_contact_detail_store_set_message_map (OssoABookContactDetailStore *self, const OssoABookMessageMapping *message_map); OssoABookContact* osso_abook_contact_detail_store_get_contact (OssoABookContactDetailStore *self); void osso_abook_contact_detail_store_set_contact (OssoABookContactDetailStore *self, OssoABookContact *contact); void osso_abook_contact_detail_store_set_filters (OssoABookContactDetailStore *self, OssoABookContactDetailFilters filters); GSequence* osso_abook_contact_detail_store_get_fields (OssoABookContactDetailStore *self); gboolean osso_abook_contact_detail_store_is_empty (OssoABookContactDetailStore *self);
"contact" OssoABookContact* : Read / Write / Construct "filters" OssoABookContactDetailFilters : Read / Write / Construct "message-map" GHashTable* : Read / Write / Construct
typedef struct _OssoABookContactDetailStore OssoABookContactDetailStore;
All the fields of this structure are private to the object's implementation and should never be accessed directly.
typedef enum { OSSO_ABOOK_CONTACT_DETAIL_NONE = 0, OSSO_ABOOK_CONTACT_DETAIL_EMAIL = 1 << 0, OSSO_ABOOK_CONTACT_DETAIL_PHONE = 1 << 1, OSSO_ABOOK_CONTACT_DETAIL_IM_VOICE = 1 << 2, OSSO_ABOOK_CONTACT_DETAIL_IM_VIDEO = 1 << 3, OSSO_ABOOK_CONTACT_DETAIL_IM_CHAT = 1 << 4, OSSO_ABOOK_CONTACT_DETAIL_FULLNAME = 1 << 5, OSSO_ABOOK_CONTACT_DETAIL_NICKNAME = 1 << 6, OSSO_ABOOK_CONTACT_DETAIL_OTHERS = 1 << 7, OSSO_ABOOK_CONTACT_DETAIL_ALL = (1 << 8) - 1, } OssoABookContactDetailFilters;
OssoABookContactDetailStore* osso_abook_contact_detail_store_new (OssoABookContact *contact, OssoABookContactDetailFilters filters);
Creates a new OssoABookContactDetailStore object.
message_map : |
The mapping of generic message ids to context ids |
contact : |
The contact from which we need to expose information |
Returns : | A new OssoABookContactDetailStore object. |
GHashTable* osso_abook_contact_detail_store_get_message_map (OssoABookContactDetailStore *self);
void osso_abook_contact_detail_store_set_message_map (OssoABookContactDetailStore *self, const OssoABookMessageMapping *message_map);
OssoABookContact* osso_abook_contact_detail_store_get_contact (OssoABookContactDetailStore *self);
void osso_abook_contact_detail_store_set_contact (OssoABookContactDetailStore *self, OssoABookContact *contact);
void osso_abook_contact_detail_store_set_filters (OssoABookContactDetailStore *self, OssoABookContactDetailFilters filters);
GSequence* osso_abook_contact_detail_store_get_fields (OssoABookContactDetailStore *self);
gboolean osso_abook_contact_detail_store_is_empty (OssoABookContactDetailStore *self);
"contact"
property"contact" OssoABookContact* : Read / Write / Construct
The contact of which to show details.
"filters"
property"filters" OssoABookContactDetailFilters : Read / Write / Construct
The contact field filters to use.
"changed"
signalvoid user_function (OssoABookContactDetailStore *ossoabookcontactdetailstore, gpointer user_data) : Run Last
"contact-changed"
signalvoid user_function (OssoABookContactDetailStore *detail_store, OssoABookContact *old_contact, OssoABookContact *new_contact, gpointer user_data) : Run Last
This signal is emitted when a new contact is set for this detail store. It provides the old and new contacts as arguments
detail_store : |
a OssoABookContactDetailStore |
old_contact : |
the old OssoABookContact associated with this OssoABookContactDetailStore |
new_contact : |
the new OssoABookContact associated with this OssoABookContactDetailStore |
user_data : |
user data set when the signal handler was connected. |