blob: 5ac371be34c83f824d0c65688a98a7545fbff9bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/*
* Copyright (c) 2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#include <Swiften/Elements/Thread.h>
namespace Swift {
Thread::Thread(const std::string& text, const std::string& parent) : text_(text), parent_(parent) {
}
Thread::~Thread() {
}
void Thread::setText(const std::string& text) {
text_ = text;
}
const std::string& Thread::getText() const {
return text_;
}
void Thread::setParent(const std::string& parent) {
parent_ = parent;
}
const std::string& Thread::getParent() const {
return parent_;
}
}
|