~ci-train-bot/history-service/history-service-ubuntu-zesty-2629

« back to all changes in this revision

Viewing changes to daemon/historydaemon.h

Initial cache implementation for grouped conversations.
Approved by: PS Jenkins bot, Gustavo Pichorim Boiko

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
                                      const QStringList &participants,
44
44
                                      History::MatchFlags matchFlags = History::MatchCaseSensitive,
45
45
                                      bool create = true);
46
 
    QString queryThreads(int type, const QVariantMap &sort, const QVariantMap &filter);
 
46
    QString queryThreads(int type, const QVariantMap &sort, const QVariantMap &filter, const QVariantMap &properties);
47
47
    QString queryEvents(int type, const QVariantMap &sort, const QVariantMap &filter);
48
 
    QVariantMap getSingleThread(int type, const QString &accountId, const QString &threadId);
 
48
    QVariantMap getSingleThread(int type, const QString &accountId, const QString &threadId, const QVariantMap &properties);
49
49
    QVariantMap getSingleEvent(int type, const QString &accountId, const QString &threadId, const QString &eventId);
50
50
 
51
51
    bool writeEvents(const QList<QVariantMap> &events);