Interface
PurpleProtocolDirectory
unstable since: 3.0
Description [src]
interface Purple.ProtocolDirectory : Purple.Protocol
Methods for directory listing in protocols.
Available since: 3.0
Prerequisite
In order to implement ProtocolDirectory, your type must inherit fromPurpleProtocol
.
Functions
purple_protocol_directory_error_quark
The error domain to identify errors with protocol directory.
unstable since: 3.0
Instance methods
purple_protocol_directory_implements_search_contacts
Checks whether searching contacts is implemented.
unstable since: 3.0
purple_protocol_directory_search_contacts_async
Searches the contacts directory of the protocol.
unstable since: 3.0
purple_protocol_directory_search_contacts_finish
Finishes an asynchronous contact search started with
purple_protocol_directory_search_contacts_async()
.
unstable since: 3.0
Interface structure
struct PurpleProtocolDirectoryInterface {
void (* search_contacts_async) (
PurpleProtocolDirectory* protocol,
PurpleAccount* account,
const char* search_text,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer data
);
PurpleContacts* (* search_contacts_finish) (
PurpleProtocolDirectory* protocol,
GAsyncResult* result,
GError** error
);
}
No description available.
Interface members
search_contacts_async |
|
No description available. |
|
search_contacts_finish |
|
No description available. |
Virtual methods
Purple.ProtocolDirectory.search_contacts_async
Searches the contacts directory of the protocol.
unstable since: 3.0
Purple.ProtocolDirectory.search_contacts_finish
Finishes an asynchronous contact search started with
purple_protocol_directory_search_contacts_async()
.
unstable since: 3.0