Interface
PurpleProtocolClient
since: 3.0
Description [src]
interface Purple.ProtocolClient : Purple.Protocol
PurpleProtocolClient
interface defines the behavior of a typical chat
service’s client interface.
Available since: 3.0
Prerequisite
In order to implement ProtocolClient, your type must inherit fromPurpleProtocol
.
Instance methods
purple_protocol_client_convo_closed
Closes the conversation named who
on connection connection
.
since: 3.0
purple_protocol_client_normalize
Normalizes a who
to the canonical form for the protocol. For example, many
protocols only support all lower case, but might have display version where
there are capital letters.
deprecated: 3.0 since: 3.0
Interface structure
struct PurpleProtocolClientInterface {
void (* convo_closed) (
PurpleProtocolClient* client,
PurpleConnection* connection,
const gchar* who
);
const gchar* (* normalize) (
PurpleProtocolClient* client,
PurpleAccount* account,
const gchar* who
);
}
Interface members
convo_closed |
|
No description available. | |
normalize |
|
No description available. |
Virtual methods
Purple.ProtocolClient.convo_closed
Closes the conversation named who
on connection connection
.
since: 3.0
Purple.ProtocolClient.normalize
Normalizes a who
to the canonical form for the protocol. For example, many
protocols only support all lower case, but might have display version where
there are capital letters.
deprecated: 3.0 since: 3.0