Interface for plugins storing chat history.
virtual bool IsHistoryEnabledFor(QObject *entry) const =0
Whether history is enabled for the given entry.
virtual void gotLastMessages(QObject *entry, const QList< QObject * > &messages)=0
Notifies about last messages for the given entry.
virtual void RequestLastMessages(QObject *entry, int num)=0
Requests last messages for the given entry.
virtual ~IHistoryPlugin()
virtual void AddRawMessage(const QVariantMap &rawMsg)=0
Adds a raw message to the history.