Interface
PurpleProtocolContacts
unstable since: 3.0
Description [src]
interface Purple.ProtocolContacts : Purple.Protocol
PurpleProtocolContacts
provides methods for interacting with remote contacts.
Available since: 3.0
Prerequisite
In order to implement ProtocolContacts, your type must inherit fromPurpleProtocol
.
Instance methods
purple_protocol_contacts_get_profile_async
Starts the process requesting the contact’s profile.
unstable since: 3.0
purple_protocol_contacts_get_profile_finish
Finishes a previous call to purple_protocol_contacts_get_profile_async()
and
gets the result.
unstable since: 3.0
purple_protocol_contacts_implements_get_action_menu
Checks whether or not Purple.ProtocolContactsInterface.get_action_menu
is implemented.
unstable since: 3.0
purple_protocol_contacts_implements_get_profile
Gets whether or not the protocol contacts implements getting a profile for a contact.
unstable since: 3.0
purple_protocol_contacts_implements_set_alias
Checks whether or not the Purple.ProtocolContactsInterface.set_alias_async
and
Purple.ProtocolContactsInterface.set_alias_finish
are implemented.
unstable since: 3.0
purple_protocol_contacts_set_alias_async
Starts the process of setting an alias on a contact.
unstable since: 3.0
purple_protocol_contacts_set_alias_finish
Finishes a previous call to purple_protocol_contacts_set_alias_async()
and
gets the result.
unstable since: 3.0
Interface structure
struct PurpleProtocolContactsInterface {
void (* get_profile_async) (
PurpleProtocolContacts* protocol,
PurpleContact* contact,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer data
);
char* (* get_profile_finish) (
PurpleProtocolContacts* protocol,
GAsyncResult* result,
GError** error
);
BirbActionMenu* (* get_action_menu) (
PurpleProtocolContacts* protocol,
PurpleContact* contact
);
void (* set_alias_async) (
PurpleProtocolContacts* protocol,
PurpleContact* contact,
const char* alias,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer data
);
gboolean (* set_alias_finish) (
PurpleProtocolContacts* protocol,
GAsyncResult* result,
GError** error
);
}
No description available.
Interface members
get_profile_async |
|
No description available. |
|
get_profile_finish |
|
No description available. |
|
get_action_menu |
|
No description available. |
|
set_alias_async |
|
No description available. |
|
set_alias_finish |
|
No description available. |
Virtual methods
Purple.ProtocolContacts.get_profile_async
Starts the process requesting the contact’s profile.
unstable since: 3.0
Purple.ProtocolContacts.get_profile_finish
Finishes a previous call to purple_protocol_contacts_get_profile_async()
and
gets the result.
unstable since: 3.0
Purple.ProtocolContacts.set_alias_async
Starts the process of setting an alias on a contact.
unstable since: 3.0
Purple.ProtocolContacts.set_alias_finish
Finishes a previous call to purple_protocol_contacts_set_alias_async()
and
gets the result.
unstable since: 3.0