15 #ifndef ADHOCHANDLER_H__
16 #define ADHOCHANDLER_H__
46 virtual void handleAdhocSupport(
const JID& remote,
bool support,
int context ) = 0;
56 virtual void handleAdhocCommands(
const JID& remote,
const StringMap& commands,
int context ) = 0;
66 virtual void handleAdhocError(
const JID& remote,
const Error* error,
int context ) = 0;
74 virtual void handleAdhocExecutionResult(
const JID& remote,
const Adhoc::Command& command,
int context ) = 0;
79 #endif // ADHOCHANDLER_H__
A virtual interface for an Ad-hoc Command users according to XEP-0050.
A stanza error abstraction implemented as a StanzaExtension.
An abstraction of an Adhoc Command element (from Adhoc Commands, XEP-0050) as a StanzaExtension.
The namespace for the gloox library.
std::map< std::string, std::string > StringMap