| Osso Addressbook Reference Manual | ||||
|---|---|---|---|---|
OssoABookAddUsernameDialog;
enum OssoABookAddUsernameDialogMode;
const GEnumValue* osso_abook_add_username_dialog_mode_from_name
(const char *name);
const GEnumValue* osso_abook_add_username_dialog_mode_from_nick
(const char *nick);
const char* osso_abook_add_username_dialog_mode_get_name
(OssoABookAddUsernameDialogMode value);
const char* osso_abook_add_username_dialog_mode_get_nick
(OssoABookAddUsernameDialogMode value);
OssoABookAddUsernameDialog is a dialog that allows the user to add a new account to an existing OssoABookContact.
It can be used to add both IM usernames (bound to an IM account), or email addresses.
typedef struct {
GtkDialog parent;
OssoABookAddUsernameDialogPrivate *priv;
} OssoABookAddUsernameDialog;
All the fields of this structure are private to the object's implementation and should never be accessed directly.
typedef enum {
OSSO_ABOOK_ADD_USERNAME_DIALOG_MODE_CHAT,
OSSO_ABOOK_ADD_USERNAME_DIALOG_MODE_VOIP,
OSSO_ABOOK_ADD_USERNAME_DIALOG_MODE_EMAIL
} OssoABookAddUsernameDialogMode;
What type of account will be added to the contact.
const GEnumValue* osso_abook_add_username_dialog_mode_from_name
(const char *name);
Looks up the description of the OssoABookAddUsernameDialogMode member with that full name.
name : |
the full name of a OssoABookAddUsernameDialogMode member |
| Returns : | A GEnumValue when name is valid, NULL otherwise.
|
const GEnumValue* osso_abook_add_username_dialog_mode_from_nick
(const char *nick);
Looks up the description of the OssoABookAddUsernameDialogMode member with that nick name.
nick : |
the nick name of a OssoABookAddUsernameDialogMode member |
| Returns : | A GEnumValue when nick is valid, NULL otherwise.
|
const char* osso_abook_add_username_dialog_mode_get_name
(OssoABookAddUsernameDialogMode value);
Retreives the full name of a OssoABookAddUsernameDialogMode member.
value : |
the a OssoABookAddUsernameDialogMode member |
| Returns : | The full name for value,
or NULL if there is no such member.
|
const char* osso_abook_add_username_dialog_mode_get_nick
(OssoABookAddUsernameDialogMode value);
Retreives the nick name of a OssoABookAddUsernameDialogMode member.
value : |
the a OssoABookAddUsernameDialogMode member |
| Returns : | The nick name for value,
or NULL if there is no such member.
|