summaryrefslogtreecommitdiff
path: root/worker.cxx
blob: 19ae358862a17cedc4fca6962421d456d9b3e4ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "rtclient.h"
#include "worker.hxx"

Worker::Worker(QObject* parent) :
	QObject{parent}
{
	rtclient_init();
}

void Worker::logIn(QString const& name, QString const& password)
{
	rtclient_login(name.toLatin1().constData(), password.toLatin1().constData());
}

Worker::~Worker()
{
	rtclient_cleanup();
}