OssoABookActionStore

OssoABookActionStore — A GtkTreeModel listing OssoABookContact related actions.

Synopsis

                    OssoABookActionStore;

enum                OssoABookAction;
const GEnumValue*   osso_abook_action_from_name         (const char *name);
const GEnumValue*   osso_abook_action_from_nick         (const char *nick);
const char*         osso_abook_action_get_name          (OssoABookAction value);
const char*         osso_abook_action_get_nick          (OssoABookAction value);

Description

The OssoABookActionStore lists OssoABookContactStarter actions for a given OssoABookContact.

Details

OssoABookActionStore

typedef struct {
        GtkListStore parent;
} OssoABookActionStore;

All the fields of this structure are private to the object's implementation and should never be accessed directly.


enum OssoABookAction

typedef enum {
        OSSO_ABOOK_ACTION_NONE,
        OSSO_ABOOK_ACTION_CALL,
        OSSO_ABOOK_ACTION_ADD_CALL_ADDRESS,
        OSSO_ABOOK_ACTION_ADD_CALL_ACCOUNT,
        OSSO_ABOOK_ACTION_CHAT,
        OSSO_ABOOK_ACTION_ADD_CHAT_ADDRESS,
        OSSO_ABOOK_ACTION_ADD_CHAT_ACCOUNT,
        OSSO_ABOOK_ACTION_EMAIL,
        OSSO_ABOOK_ACTION_ADD_EMAIL_ADDRESS,
        OSSO_ABOOK_ACTION_DETAILS,
        OSSO_ABOOK_ACTION_BLOCK,
        OSSO_ABOOK_ACTION_UNBLOCK,
        OSSO_ABOOK_ACTION_GOTO_URL,
} OssoABookAction;

The various actions supported by OssoABookActionStore.

OSSO_ABOOK_ACTION_NONE no action specified
OSSO_ABOOK_ACTION_CALL call the selected OssoABookContact
OSSO_ABOOK_ACTION_ADD_CALL_ADDRESS add a call address to the selected OssoABookContact
OSSO_ABOOK_ACTION_ADD_CALL_ACCOUNT add a call account to the selected OssoABookContact
OSSO_ABOOK_ACTION_CHAT open a text-chat for the selected OssoABookContact
OSSO_ABOOK_ACTION_ADD_CHAT_ADDRESS add a text-chat address to the selected OssoABookContact
OSSO_ABOOK_ACTION_ADD_CHAT_ACCOUNT add a text-chat account to the selected OssoABookContact
OSSO_ABOOK_ACTION_EMAIL send the selected OssoABookContact an e-mail
OSSO_ABOOK_ACTION_ADD_EMAIL_ADDRESS add an e-mail address to the selected OssoABookContact
OSSO_ABOOK_ACTION_DETAILS display details for selected OssoABookContact
OSSO_ABOOK_ACTION_BLOCK block the selected OssoABookContact
OSSO_ABOOK_ACTION_UNBLOCK unblock the selected OssoABookContact
OSSO_ABOOK_ACTION_GOTO_URL visit an URL for the selected OssoABookContact

osso_abook_action_from_name ()

const GEnumValue*   osso_abook_action_from_name         (const char *name);

Looks up the description of the OssoABookAction member with that full name.

name : the full name of a OssoABookAction member
Returns : A GEnumValue when name is valid, NULL otherwise.

osso_abook_action_from_nick ()

const GEnumValue*   osso_abook_action_from_nick         (const char *nick);

Looks up the description of the OssoABookAction member with that nick name.

nick : the nick name of a OssoABookAction member
Returns : A GEnumValue when nick is valid, NULL otherwise.

osso_abook_action_get_name ()

const char*         osso_abook_action_get_name          (OssoABookAction value);

Retreives the full name of a OssoABookAction member.

value : the a OssoABookAction member
Returns : The full name for value, or NULL if there is no such member.

osso_abook_action_get_nick ()

const char*         osso_abook_action_get_nick          (OssoABookAction value);

Retreives the nick name of a OssoABookAction member.

value : the a OssoABookAction member
Returns : The nick name for value, or NULL if there is no such member.

See Also

EBookView