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