diff options
Diffstat (limited to 'trunk/src/SecushareQtController.cpp')
-rw-r--r-- | trunk/src/SecushareQtController.cpp | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/trunk/src/SecushareQtController.cpp b/trunk/src/SecushareQtController.cpp new file mode 100644 index 0000000..512cc67 --- /dev/null +++ b/trunk/src/SecushareQtController.cpp | |||
@@ -0,0 +1,44 @@ | |||
1 | // SecushareQtController.cpp | ||
2 | // | ||
3 | // author: lurchi | ||
4 | // date: 2016-02-01 | ||
5 | |||
6 | #include "SecushareQtController.hpp" | ||
7 | |||
8 | using namespace redthread; | ||
9 | |||
10 | SecushareQtController::SecushareQtController(std::shared_ptr<SecushareQtView> view, | ||
11 | const std::string& appName, | ||
12 | const std::string& appVersion, | ||
13 | const std::string& configPath, | ||
14 | QObject* parent) | ||
15 | : QObject(parent), | ||
16 | AbstractSecushareController(view, appName, appVersion, configPath) | ||
17 | { | ||
18 | |||
19 | } | ||
20 | |||
21 | SecushareQtController::~SecushareQtController() | ||
22 | { | ||
23 | |||
24 | } | ||
25 | |||
26 | void SecushareQtController::shutdown() | ||
27 | { | ||
28 | AbstractSecushareController::shutdown(); | ||
29 | } | ||
30 | |||
31 | void SecushareQtController::addEgo(const std::string& name) | ||
32 | { | ||
33 | AbstractSecushareController::addEgo(name); | ||
34 | } | ||
35 | |||
36 | void SecushareQtController::addFriend(const std::string& nymPubKey, const std::string& name) | ||
37 | { | ||
38 | AbstractSecushareController::addFriend(nymPubKey, name); | ||
39 | } | ||
40 | |||
41 | void SecushareQtController::sendMessage(const PlaceId& placeId, const std::string& message) | ||
42 | { | ||
43 | AbstractSecushareController::sendMessage(placeId, message); | ||
44 | } | ||