Osso Addressbook Reference Manual |
---|
Library initialisationLibrary initialisation — Functions for library initialisation |
gboolean osso_abook_init (int *argc, char ***argv, osso_context_t *osso_context); gboolean osso_abook_init_with_name (const char *name, osso_context_t *osso_context); osso_context_t* osso_abook_get_osso_context (void); void osso_abook_set_osso_context (osso_context_t *osso_context);
gboolean osso_abook_init (int *argc, char ***argv, osso_context_t *osso_context);
Initializes the OssoABook API.
argc : |
Address of the argc parameter of your main() function. Changed if any
arguments were handled.
|
argv : |
Address of the argv parameter of main() . Any parameters understood by
gtk_init() are stripped before return.
|
osso_context : |
The osso_context_t of this application. |
Returns : | TRUE on success, FALSE otherwise. |
gboolean osso_abook_init_with_name (const char *name, osso_context_t *osso_context);
Initializes the OssoABook API. This form is to be used by plugins or any other situation where argc and argv are either incorrect or unavailable.
name : |
The name of this application. |
osso_context : |
The osso_context_t of this application. |
Returns : | TRUE on success, FALSE otherwise. |
osso_context_t* osso_abook_get_osso_context (void);
Obtains the osso_context_t for this instance.
Returns : | An osso_context_t |
<< EContact utilities | EContact merging >> |