9 #ifndef PLUGINS_AZOTH_INTERFACES_IHAVECONSOLE_H 10 #define PLUGINS_AZOTH_INTERFACES_IHAVECONSOLE_H 120 "org.Deviant.LeechCraft.Azoth.IHaveConsole/1.0")
Interface for accounts that support protocol consoles.
PacketDirection
Defines the direction of a packet.
PacketFormat
Defines the format of the packets in this protocol.
XML packets (like in XMPP).
Binary packets (like in Oscar).
virtual PacketFormat GetPacketFormat() const =0
Returns the packet format used in this account.
virtual void gotConsolePacket(const QByteArray &packet, PacketDirection direction, const QString &hrEntryId)=0
Notifies about new packet.
virtual void SetConsoleEnabled(bool enabled)=0
Enables or disables the console.
Plain text packets (like in IRC).