| folks Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Prerequisites | Known Implementations | Properties | ||||
FolksFavouriteDetailsFolksFavouriteDetails — Interface exposing a FolksPersona's or FolksIndividual's user-defined status as a favourite. |
void folks_favourite_details_change_is_favourite (FolksFavouriteDetails *self,gboolean is_favourite,GAsyncReadyCallback _callback_,gpointer _user_data_); void folks_favourite_details_change_is_favourite_finish (FolksFavouriteDetails *self,GAsyncResult *_res_,GError **error); gboolean folks_favourite_details_get_is_favourite (FolksFavouriteDetails *self); void folks_favourite_details_set_is_favourite (FolksFavouriteDetails *self,gboolean value); FolksFavouriteDetails;
void folks_favourite_details_change_is_favourite (FolksFavouriteDetails *self,gboolean is_favourite,GAsyncReadyCallback _callback_,gpointer _user_data_);
Change whether the contact is a user-defined favourite.
It's preferred to call this rather than setting "is-favourite" directly, as this method gives error notification and will only return once the favouriteness has been written to the relevant backing store (or the operation's failed).
See also: folks_favourite_details_change_is_favourite_finish()
|
the FolksFavouriteDetails instance |
|
`true` if the contact is a favourite; `false` otherwise. [in] |
|
callback to call when the request is satisfied. [scope async] |
|
the data to pass to _callback_ function. [closure]
|
Since 0.6.2
void folks_favourite_details_change_is_favourite_finish (FolksFavouriteDetails *self,GAsyncResult *_res_,GError **error);
Change whether the contact is a user-defined favourite.
It's preferred to call this rather than setting "is-favourite" directly, as this method gives error notification and will only return once the favouriteness has been written to the relevant backing store (or the operation's failed).
See also: folks_favourite_details_change_is_favourite()
|
the FolksFavouriteDetails instance |
|
a GAsyncResult |
|
location to store the error occuring, or NULL to ignore. [error-domains FolksPropertyError]
|
Since 0.6.2
gboolean folks_favourite_details_get_is_favourite
(FolksFavouriteDetails *self);
|
the FolksFavouriteDetails instance to query |
Returns : |
the value of the "is-favourite" property |
void folks_favourite_details_set_is_favourite (FolksFavouriteDetails *self,gboolean value);
|
the FolksFavouriteDetails instance to modify |
|
the new value of the "is-favourite" property |
typedef struct _FolksFavouriteDetails FolksFavouriteDetails;
Interface exposing a FolksPersona's or FolksIndividual's user-defined status as a favourite.