Osso Addressbook Reference Manual |
---|
OssoABookRecentGroupOssoABookRecentGroup — Recently used contacts group. |
OssoABookRecentGroup; OssoABookGroup* osso_abook_recent_group_get (void); void osso_abook_recent_group_set_book_view (OssoABookRecentGroup *group, EBookView *book_view); EBookView* osso_abook_recent_group_get_book_view (OssoABookRecentGroup *group);
The recently used contacts group contains the most recently used regular (i.e. non-blocked) contacts.
typedef struct _OssoABookRecentGroup OssoABookRecentGroup;
There are no public fields in OssoABookRecentGroup.
OssoABookGroup* osso_abook_recent_group_get (void);
Retrieves the recently used contacts group. Note that this function is not
thread-safe. Also note that for any contacts to show up, the newly created
group should be bound to an EBookView using
osso_abook_recent_group_set_book_view()
.
Returns : | The OssoABookRecentGroup. This is a singleton;
don't g_object_unref() it.
|
void osso_abook_recent_group_set_book_view (OssoABookRecentGroup *group, EBookView *book_view);
On first call sets the EBookView that is to be monitored for recently used contacts. Any subsequent calls are ignored.
group : |
An OssoABookRecentGroup |
book_view : |
The EBookView to be monitored |
EBookView* osso_abook_recent_group_get_book_view (OssoABookRecentGroup *group);
Retrieves the monitored EBookView.
group : |
An OssoABookRecentGroup |
Returns : | The monitored EBookView. |
<< OssoABookOnlineGroup | OssoABookServiceGroup >> |