OssoABookRecentGroup

OssoABookRecentGroup — Recently used contacts group.

Synopsis




            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);


Object Hierarchy


  GObject
   +----OssoABookGroup
         +----OssoABookRecentGroup

Properties


  "book-view"            EBookView             : Read / Write

Description

The recently used contacts group contains the most recently used regular (i.e. non-blocked) contacts.

Details

OssoABookRecentGroup

typedef struct _OssoABookRecentGroup OssoABookRecentGroup;

There are no public fields in OssoABookRecentGroup.


osso_abook_recent_group_get ()

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.

osso_abook_recent_group_set_book_view ()

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

osso_abook_recent_group_get_book_view ()

EBookView*  osso_abook_recent_group_get_book_view
                                            (OssoABookRecentGroup *group);

Retrieves the monitored EBookView.

group : An OssoABookRecentGroup
Returns : The monitored EBookView.

Properties

The "book-view" property

  "book-view"            EBookView             : Read / Write

The monitored EBookView.

See Also

OssoABookGroup, OssoABookGroupModel