osso-abook-settings

osso-abook-settings

Synopsis

#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);

Description

A longer description goes here.

Details

OSSO_ABOOK_SETTINGS_KEY_CONTACT_ORDER

#define             OSSO_ABOOK_SETTINGS_KEY_CONTACT_ORDER

OSSO_ABOOK_SETTINGS_KEY_DISPLAY_METHOD

#define             OSSO_ABOOK_SETTINGS_KEY_DISPLAY_METHOD

OSSO_ABOOK_SETTINGS_KEY_HOME_APPLETS

#define             OSSO_ABOOK_SETTINGS_KEY_HOME_APPLETS

OSSO_ABOOK_SETTINGS_KEY_LAST_IMSI

#define             OSSO_ABOOK_SETTINGS_KEY_LAST_IMSI

OSSO_ABOOK_SETTINGS_KEY_NAME_ORDER

#define             OSSO_ABOOK_SETTINGS_KEY_NAME_ORDER

OSSO_ABOOK_SETTINGS_KEY_SELF_CARD

#define             OSSO_ABOOK_SETTINGS_KEY_SELF_CARD

OSSO_ABOOK_SETTINGS_KEY_SELF_AVATAR_IMPORTED

#define             OSSO_ABOOK_SETTINGS_KEY_SELF_AVATAR_IMPORTED

OSSO_ABOOK_SETTINGS_KEY_VOICEMAIL_VCARD

#define             OSSO_ABOOK_SETTINGS_KEY_VOICEMAIL_VCARD

OSSO_ABOOK_SETTINGS_KEY_SPEED_DIAL_DIR

#define             OSSO_ABOOK_SETTINGS_KEY_SPEED_DIAL_DIR

OSSO_ABOOK_SETTINGS_KEY_VOICEMAIL_INDEX

#define             OSSO_ABOOK_SETTINGS_KEY_VOICEMAIL_INDEX

enum OssoABookContactOrder

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.

enum OssoABookNameOrder

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.

OSSO_ABOOK_NAME_ORDER_FIRST Display given name first
OSSO_ABOOK_NAME_ORDER_LAST Display family name first, separated by comma
OSSO_ABOOK_NAME_ORDER_LAST_SPACE Display family name first, separated by space
OSSO_ABOOK_NAME_ORDER_NICK Display nickname only

osso_abook_get_gconf_client ()

GConfClient*        osso_abook_get_gconf_client         (void);

Retrieves the GConf client used by the library.


osso_abook_settings_get_contact_order ()

OssoABookContactOrder osso_abook_settings_get_contact_order
                                                        (void);

Retrieves the stored sort key for OssoABookListStore.


osso_abook_settings_get_display_method ()

OssoABookNameOrder  osso_abook_settings_get_display_method
                                                        (void);

Retrieves the stored display method.


osso_abook_settings_get_home_applets ()

GSList*             osso_abook_settings_get_home_applets
                                                        (void);

osso_abook_settings_get_name_order ()

OssoABookNameOrder  osso_abook_settings_get_name_order  (void);

Retrieves the stored sort order.


osso_abook_settings_get_self_avatar_imported ()

gboolean            osso_abook_settings_get_self_avatar_imported
                                                        (void);

osso_abook_settings_set_contact_order ()

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.

osso_abook_settings_set_display_method ()

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.

osso_abook_settings_set_home_applets ()

gboolean            osso_abook_settings_set_home_applets
                                                        (GSList *list);

osso_abook_settings_set_name_order ()

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.

osso_abook_settings_set_self_avatar_imported ()

gboolean            osso_abook_settings_set_self_avatar_imported
                                                        (gboolean imported);

osso_abook_settings_get_voicemail_index ()

int                 osso_abook_settings_get_voicemail_index
                                                        (void);

osso_abook_settings_set_voicemail_index ()

gboolean            osso_abook_settings_set_voicemail_index
                                                        (int index);