summaryrefslogtreecommitdiff
path: root/networkworker.cxx
diff options
context:
space:
mode:
authorErik Prabowo Kamal <erik@darapsa.co.id>2019-08-23 15:36:18 +0800
committerErik Prabowo Kamal <erik@darapsa.co.id>2019-08-23 15:36:18 +0800
commitf14878b05ee885f1747feab256011b4da72ae778 (patch)
treee9415590ecccaa1fe30b20a49f418990d650302f /networkworker.cxx
parentc592064dda137e81cee7a421bb68fa83535542bd (diff)
Started to use cURL
Diffstat (limited to 'networkworker.cxx')
-rw-r--r--networkworker.cxx16
1 files changed, 16 insertions, 0 deletions
diff --git a/networkworker.cxx b/networkworker.cxx
new file mode 100644
index 0000000..928e4e8
--- /dev/null
+++ b/networkworker.cxx
@@ -0,0 +1,16 @@
+#include "rtclient.h"
+#include "networkworker.hxx"
+
+namespace Kelakon {
+
+ NetworkWorker::NetworkWorker(QObject* parent)
+ : QObject{parent}
+ {
+ rtclient_init();
+ }
+
+ NetworkWorker::~NetworkWorker()
+ {
+ rtclient_cleanup();
+ }
+}