Osso Addressbook Reference Manual | ||||
---|---|---|---|---|
OssoABookRosterManagerOssoABookRosterManager — Manage OssoABookRoster instances for each McAccount. |
OssoABookRosterManager; OssoABookRosterManagerIface; OssoABookRosterManager* osso_abook_roster_manager_get_default (void); gboolean osso_abook_roster_manager_is_running (OssoABookRosterManager *manager); void osso_abook_roster_manager_start (OssoABookRosterManager *manager); void osso_abook_roster_manager_stop (OssoABookRosterManager *manager);
The OssoABookRosterManager creates a OssoABookRoster for each Mission Control account. This allows easy access on each account's contact list.
typedef struct _OssoABookRosterManager OssoABookRosterManager;
Dummy type for the OssoABookRosterManager interface.
typedef struct { void (* roster_created) (OssoABookRosterManager *manager, OssoABookRoster *roster); void (* roster_removed) (OssoABookRosterManager *manager, OssoABookRoster *roster); void (* start) (OssoABookRosterManager *manager); void (* stop) (OssoABookRosterManager *manager); GList * (* list_rosters) (OssoABookRosterManager *manager); OssoABookRoster * (* get_roster) (OssoABookRosterManager *manager, const char *account_name); } OssoABookRosterManagerIface;
Virtual methods of the OssoABookRosterManager interface.
roster_created () |
virtual method for "roster-created" |
roster_removed () |
virtual method for "roster-removed" |
start () |
virtual method for osso_abook_roster_manager_start()
|
stop () |
virtual method for osso_abook_roster_manager_stop()
|
list_rosters () |
|
get_roster () |
OssoABookRosterManager* osso_abook_roster_manager_get_default (void);
Retreive the default OssoABookRosterManager.
Returns : | The default OssoABookRosterManager. This object is owned by the library and must not be unreferenced. |
gboolean osso_abook_roster_manager_is_running (OssoABookRosterManager *manager);
Retreives the current value of the "running" property.
manager : |
a OssoABookRosterManager |
Returns : | The current value of the property. |
void osso_abook_roster_manager_start (OssoABookRosterManager *manager);
Starts operation of the manager
. After calling this function a sequence
of "roster-created" signals is emitted to report
the initial state of the OssoABookRosterManager.
See also: osso_abook_roster_manager_stop()
, "running".
manager : |
a OssoABookRosterManager |
void osso_abook_roster_manager_stop (OssoABookRosterManager *manager);
Stops operation of the manager
.
See also: osso_abook_roster_manager_start()
,
"running".
manager : |
a OssoABookRosterManager |