~ci-train-bot/history-service/history-service-ubuntu-yakkety-landing-052

« back to all changes in this revision

Viewing changes to src/historywriter.h

  • Committer: Gustavo Pichorim Boiko
  • Date: 2013-06-25 13:48:37 UTC
  • Revision ID: gustavo.boiko@canonical.com-20130625134837-ybhnw47u0kt46qzo
Add code to write the thread for new events.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
#include <TextItem>
5
5
#include <VoiceItem>
 
6
#include <Types>
6
7
 
7
8
class HistoryWriter : public QObject
8
9
{
9
10
    Q_OBJECT
10
11
public:
 
12
    HistoryWriter(QObject *parent = 0) : QObject(parent) {}
11
13
    virtual ~HistoryWriter() {}
12
14
 
 
15
    virtual HistoryThreadPtr threadForParticipants(const QString &accountId, HistoryItem::ItemType type, const QStringList &participants) = 0;
13
16
    virtual bool writeTextItem(const TextItem &item) = 0;
14
17
    virtual bool writeVoiceItem(const VoiceItem &item) = 0;
15
18