Osso Addressbook Reference Manual | ||||
---|---|---|---|---|
OssoABookAccountModelOssoABookAccountModel — A GtkTreeModel listing OssoABookAccount objects. |
OssoABookAccountModel; enum OssoABookAccountModelColumn; const GEnumValue* osso_abook_account_model_column_from_name (const char *name); const GEnumValue* osso_abook_account_model_column_from_nick (const char *nick); const char* osso_abook_account_model_column_get_name (OssoABookAccountModelColumn value); const char* osso_abook_account_model_column_get_nick (OssoABookAccountModelColumn value); OssoABookAccountModelRow; OssoABookAccountModelTuple;
The OssoABookAccountModel is a model that lists the OssoABookAccount objects of accounts from EContact objects exposed by an EBookView, and their associated OssoABookPresence objects.
typedef struct { } OssoABookAccountModel;
All the fields of this structure are private to the object's implementation and should never be accessed directly.
typedef enum { OSSO_ABOOK_ACCOUNT_MODEL_COLUMN_CONTACT = OSSO_ABOOK_LIST_STORE_COLUMN_CONTACT, OSSO_ABOOK_ACCOUNT_MODEL_COLUMN_TUPLE = OSSO_ABOOK_LIST_STORE_COLUMN_LAST, OSSO_ABOOK_ACCOUNT_MODEL_COLUMN_LAST, } OssoABookAccountModelColumn;
The columns in an OssoABookAccountModel.
OSSO_ABOOK_ACCOUNT_MODEL_COLUMN_CONTACT
|
The contact column, containing an OssoABookContact instance |
OSSO_ABOOK_ACCOUNT_MODEL_COLUMN_TUPLE
|
The tuple column, containing an OssoABookAccountModelTuple instance |
OSSO_ABOOK_ACCOUNT_MODEL_COLUMN_LAST
|
The first column id available for child classes |
const GEnumValue* osso_abook_account_model_column_from_name (const char *name);
Looks up the description of the OssoABookAccountModelColumn member with that full name
.
name : |
the full name of a OssoABookAccountModelColumn member |
Returns : | A GEnumValue when name is valid, NULL otherwise.
|
const GEnumValue* osso_abook_account_model_column_from_nick (const char *nick);
Looks up the description of the OssoABookAccountModelColumn member with that nick
name.
nick : |
the nick name of a OssoABookAccountModelColumn member |
Returns : | A GEnumValue when nick is valid, NULL otherwise.
|
const char* osso_abook_account_model_column_get_name (OssoABookAccountModelColumn value);
Retreives the full name of a OssoABookAccountModelColumn member.
value : |
the a OssoABookAccountModelColumn member |
Returns : | The full name for value ,
or NULL if there is no such member.
|
const char* osso_abook_account_model_column_get_nick (OssoABookAccountModelColumn value);
Retreives the nick name of a OssoABookAccountModelColumn member.
value : |
the a OssoABookAccountModelColumn member |
Returns : | The nick name for value ,
or NULL if there is no such member.
|
typedef struct { OssoABookListStoreRow parent; OssoABookAccountModelTuple *tuple; } OssoABookAccountModelRow;
One single row of an OssoABookAccountModel.
OssoABookListStoreRow parent ; |
Information common for all OssoABookListStoreRow instances |
OssoABookAccountModelTuple *tuple ; |
The OssoABookAccountModelTuple associated with this row |
typedef struct { OssoABookContact *contact; OssoABookAccount *account; int ref_count; } OssoABookAccountModelTuple;
Links an OssoABookContact to an OssoABookAccount.
OssoABookContact *contact ; |
OssoABookContact of the tuple. |
OssoABookAccount *account ; |
OssoABookAccount of the tuple. |
int ref_count ; |
Reference count of the tuple struct. |