![]() |
![]() |
![]() |
[Insert name here] Reference Manual | ![]() |
---|---|---|---|---|
#define TPA_CONTACT_LIST_GET_PRIVATE (obj) TpaContactListPrivate; TpaContactList; TpaContact* tpa_contact_list_add (TpaContactList *self, const gchar *uri); void tpa_contact_list_remove (TpaContactList *self, TpaContact *contact); GPtrArray* tpa_contact_list_get_known (TpaContactList *self); GPtrArray* tpa_contact_list_get_subscribed (TpaContactList *self); GPtrArray* tpa_contact_list_get_authorized (TpaContactList *self); GPtrArray* tpa_contact_list_get_hidden (TpaContactList *self); GPtrArray* tpa_contact_list_get_blocked (TpaContactList *self); TpaContact* tpa_contact_list_get_contact (TpaContactList *self, const gchar *uri); gboolean tpa_contact_list_is_local (TpaContactList *self);
"authorization-requested" : Run Last / Has Details "loaded" : Run Last / Has Details "subscription-accepted" : Run Last / Has Details
TpaContact* tpa_contact_list_add (TpaContactList *self, const gchar *uri);
Add contact to contact list by its string uri.
self : |
TpaContactList instance. |
uri : |
Contact uri to be added. |
Returns : | TpaContact contact added. |
void tpa_contact_list_remove (TpaContactList *self, TpaContact *contact);
Removes contact from contact list.
self : |
TpaContactList instance. |
contact : |
GPtrArray* tpa_contact_list_get_known (TpaContactList *self);
Get contacts all contacts available.
self : |
TpaContactList instance. |
Returns : | GPtrArray with known contacts. |
GPtrArray* tpa_contact_list_get_subscribed (TpaContactList *self);
Get contacts that user is susbscribed to see its presences.
self : |
TpaContactList instance. |
Returns : | GPtrArray with susbscribed TpaContact contacts. |
GPtrArray* tpa_contact_list_get_authorized (TpaContactList *self);
Get contacts that are authorized to see user presence.
self : |
TpaContactList instance. |
Returns : | GPtrArray with authorized TpaContact contacts. |
GPtrArray* tpa_contact_list_get_hidden (TpaContactList *self);
Get contacts that user is hidden.
self : |
TpaContactList instance. |
Returns : | GPtrArray with hidden TpaContact contacts. |
GPtrArray* tpa_contact_list_get_blocked (TpaContactList *self);
Get contacts that are blocked.
self : |
TpaContactList instance. |
Returns : | GPtrArray with blocked TpaContact contacts. |
TpaContact* tpa_contact_list_get_contact (TpaContactList *self, const gchar *uri);
Get contact by its string uri.
self : |
TpaContactList instance |
uri : |
Given uri. |
Returns : | TpaContact corresponding to the given uri. |
gboolean tpa_contact_list_is_local (TpaContactList *self);
self : |
|
Returns : |
void user_function (TpaContactList *tpacontactlist, TpaContact *arg1, gpointer user_data) : Run Last / Has Details
tpacontactlist : |
the object which received the signal. |
arg1 : |
|
user_data : |
user data set when the signal handler was connected. |
void user_function (TpaContactList *tpacontactlist, gpointer user_data) : Run Last / Has Details
tpacontactlist : |
the object which received the signal. |
user_data : |
user data set when the signal handler was connected. |
void user_function (TpaContactList *tpacontactlist, TpaContact *arg1, gpointer user_data) : Run Last / Has Details
tpacontactlist : |
the object which received the signal. |
arg1 : |
|
user_data : |
user data set when the signal handler was connected. |