summaryrefslogtreecommitdiff
path: root/trunk/src/SecushareQtController.cpp
blob: 512cc672ea453f298f260c1aed6266c1bed2f91a (plain) (blame)
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
35
36
37
38
39
40
41
42
43
44
// SecushareQtController.cpp
//
// author: lurchi
// date: 2016-02-01

#include "SecushareQtController.hpp"

using namespace redthread;

SecushareQtController::SecushareQtController(std::shared_ptr<SecushareQtView> view,
                                             const std::string& appName,
                                             const std::string& appVersion,
                                             const std::string& configPath,
                                             QObject* parent)
    : QObject(parent),
      AbstractSecushareController(view, appName, appVersion, configPath)
{
    
}

SecushareQtController::~SecushareQtController()
{

}

void SecushareQtController::shutdown()
{
    AbstractSecushareController::shutdown();
}

void SecushareQtController::addEgo(const std::string& name)
{
    AbstractSecushareController::addEgo(name);
}

void SecushareQtController::addFriend(const std::string& nymPubKey, const std::string& name)
{
    AbstractSecushareController::addFriend(nymPubKey, name);
}

void SecushareQtController::sendMessage(const PlaceId& placeId, const std::string& message)
{
    AbstractSecushareController::sendMessage(placeId, message);
}