Osso Addressbook Reference Manual | ||||
---|---|---|---|---|
#define OSSO_ABOOK_SETTINGS_KEY_CONTACT_ORDER #define OSSO_ABOOK_SETTINGS_KEY_DISPLAY_METHOD #define OSSO_ABOOK_SETTINGS_KEY_HOME_APPLETS #define OSSO_ABOOK_SETTINGS_KEY_LAST_IMSI #define OSSO_ABOOK_SETTINGS_KEY_NAME_ORDER #define OSSO_ABOOK_SETTINGS_KEY_SELF_CARD #define OSSO_ABOOK_SETTINGS_KEY_SELF_AVATAR_IMPORTED #define OSSO_ABOOK_SETTINGS_KEY_VOICEMAIL_VCARD #define OSSO_ABOOK_SETTINGS_KEY_SPEED_DIAL_DIR #define OSSO_ABOOK_SETTINGS_KEY_VOICEMAIL_INDEX enum OssoABookContactOrder; enum OssoABookNameOrder; GConfClient* osso_abook_get_gconf_client (void); OssoABookContactOrder osso_abook_settings_get_contact_order (void); OssoABookNameOrder osso_abook_settings_get_display_method (void); GSList* osso_abook_settings_get_home_applets (void); OssoABookNameOrder osso_abook_settings_get_name_order (void); gboolean osso_abook_settings_get_self_avatar_imported (void); gboolean osso_abook_settings_set_contact_order (OssoABookContactOrder order); gboolean osso_abook_settings_set_display_method (OssoABookNameOrder order); gboolean osso_abook_settings_set_home_applets (GSList *list); gboolean osso_abook_settings_set_name_order (OssoABookNameOrder order); gboolean osso_abook_settings_set_self_avatar_imported (gboolean imported); int osso_abook_settings_get_voicemail_index (void); gboolean osso_abook_settings_set_voicemail_index (int index);
typedef enum { OSSO_ABOOK_CONTACT_ORDER_NONE = -1, OSSO_ABOOK_CONTACT_ORDER_NAME, /* Sort by name */ OSSO_ABOOK_CONTACT_ORDER_PRESENCE, /* Sort by presence, then name */ OSSO_ABOOK_CONTACT_ORDER_CUSTOM, } OssoABookContactOrder;
The sorting modes of a OssoABookListStore.
OSSO_ABOOK_CONTACT_ORDER_NONE
|
Don't sort at all. |
OSSO_ABOOK_CONTACT_ORDER_NAME
|
Sort by (display) name. |
OSSO_ABOOK_CONTACT_ORDER_PRESENCE
|
Sort by presence, then name. |
OSSO_ABOOK_CONTACT_ORDER_CUSTOM
|
Use custom OssoABookListStoreCompareFunc for sorting. |
typedef enum { OSSO_ABOOK_NAME_ORDER_FIRST, OSSO_ABOOK_NAME_ORDER_LAST, OSSO_ABOOK_NAME_ORDER_LAST_SPACE, OSSO_ABOOK_NAME_ORDER_NICK, } OssoABookNameOrder;
Preferred order for name components for sorting and display.
GConfClient* osso_abook_get_gconf_client (void);
Retrieves the GConf client used by the library.
OssoABookContactOrder osso_abook_settings_get_contact_order (void);
Retrieves the stored sort key for OssoABookListStore.
OssoABookNameOrder osso_abook_settings_get_display_method (void);
Retrieves the stored display method.
OssoABookNameOrder osso_abook_settings_get_name_order (void);
Retrieves the stored sort order.
gboolean osso_abook_settings_get_self_avatar_imported (void);
gboolean osso_abook_settings_set_contact_order (OssoABookContactOrder order);
Sets up the sort key for OssoABookListStore.
mode : |
OssoABookContactOrder |
Returns : | TRUE if the operation was successful, FALSE otherwise.
|
gboolean osso_abook_settings_set_display_method (OssoABookNameOrder order);
Sets up the display method in settings.
order : |
OssoABookNameOrder |
Returns : | TRUE if the operation was successful, FALSE otherwise.
|
gboolean osso_abook_settings_set_home_applets (GSList *list);
gboolean osso_abook_settings_set_name_order (OssoABookNameOrder order);
Sets up the sort order in settings.
order : |
OssoABookNameOrder |
Returns : | TRUE if the operation was successful, FALSE otherwise.
|
gboolean osso_abook_settings_set_self_avatar_imported (gboolean imported);