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