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

« back to all changes in this revision

Viewing changes to src/manager.h

  • Committer: Bileto Bot
  • Author(s): Gustavo Pichorim Boiko
  • Date: 2016-11-30 15:13:58 UTC
  • mfrom: (230.2.23 staging)
  • Revision ID: ci-train-bot@canonical.com-20161130151358-jy3mqj0ir0b6ncxe
Improve group chat support.

Approved by: Roberto Mier Escandón , Tiago Salem Herrmann

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2013 Canonical, Ltd.
 
2
 * Copyright (C) 2013-2016 Canonical, Ltd.
3
3
 *
4
4
 * Authors:
5
5
 *  Gustavo Pichorim Boiko <gustavo.boiko@canonical.com>
61
61
                                 const QStringList &participants,
62
62
                                 History::MatchFlags matchFlags = History::MatchCaseSensitive,
63
63
                                 bool create = false);
 
64
    Thread threadForProperties(const QString &accountId,
 
65
                               EventType type,
 
66
                               const QVariantMap &properties,
 
67
                               History::MatchFlags matchFlags = History::MatchCaseSensitive,
 
68
                               bool create = false);
 
69
 
64
70
    Thread getSingleThread(EventType type, const QString &accountId, const QString &threadId, const QVariantMap &properties = QVariantMap());
65
71
 
66
72
    bool writeEvents(const History::Events &events);