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