virtual ~IHaveServerHistory()
virtual void serverHistoryFetched(const QModelIndex &contact, const QByteArray &startId, const SrvHistMessages_t &messages)=0
Emitted when messages are fetched.
virtual bool HasFeature(ServerHistoryFeature) const =0
virtual void FetchServerHistory(const QModelIndex &contact, const QByteArray &startId, int count)=0
Fetches the given history with the given contact.
virtual DefaultSortParams GetSortParams() const =0
Util::Either< QString, MessagesSyncMap_t > DatedFetchResult_t
virtual void OpenServerHistoryConfiguration()=0
QHash< QString, UserHistorySyncInfo > MessagesSyncMap_t
virtual QAbstractItemModel * GetServerContactsModel() const =0
virtual QFuture< DatedFetchResult_t > FetchServerHistory(const QDateTime &since)=0
QList< HistoryItem > Messages_