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

« back to all changes in this revision

Viewing changes to src/thread_p.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-2015 Canonical, Ltd.
 
2
 * Copyright (C) 2013-2016 Canonical, Ltd.
3
3
 *
4
4
 * Authors:
5
5
 *  Gustavo Pichorim Boiko <gustavo.boiko@canonical.com>
38
38
                         const QString &theThreadId,
39
39
                         EventType theType,
40
40
                         const Participants &theParticipants,
 
41
                         const QDateTime &theTimestamp,
41
42
                         const Event &theLastEvent,
42
43
                         int theCount,
43
44
                         int theUnreadCount,
44
 
                         const Threads &theGroupedThreads);
 
45
                         const Threads &theGroupedThreads,
 
46
                         ChatType chatType,
 
47
                         const QVariantMap &chatRoomInfo);
45
48
    virtual ~ThreadPrivate();
46
49
 
47
50
    QString accountId;
48
51
    QString threadId;
49
52
    Participants participants;
50
53
    EventType type;
 
54
    QDateTime timestamp;
51
55
    Event lastEvent;
52
56
    int count;
53
57
    int unreadCount;
54
58
    Threads groupedThreads;
 
59
    ChatType chatType;
 
60
    QVariantMap chatRoomInfo;
55
61
};
56
62
 
57
63
}