From f14878b05ee885f1747feab256011b4da72ae778 Mon Sep 17 00:00:00 2001 From: Erik Prabowo Kamal Date: Fri, 23 Aug 2019 15:36:18 +0800 Subject: Started to use cURL --- networkworker.cxx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 networkworker.cxx (limited to 'networkworker.cxx') 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(); + } +} -- cgit v1.2.3 From 89860a73d0a65bd47a28002dbad6087292b2615d Mon Sep 17 00:00:00 2001 From: Erik Prabowo Kamal Date: Tue, 27 Aug 2019 09:54:38 +0800 Subject: Removed Kelakon namespace for NetworkWorker --- networkworker.cxx | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'networkworker.cxx') diff --git a/networkworker.cxx b/networkworker.cxx index 928e4e8..3487d4c 100644 --- a/networkworker.cxx +++ b/networkworker.cxx @@ -1,16 +1,13 @@ #include "rtclient.h" #include "networkworker.hxx" -namespace Kelakon { - - NetworkWorker::NetworkWorker(QObject* parent) - : QObject{parent} - { - rtclient_init(); - } +NetworkWorker::NetworkWorker(QObject* parent) : + QObject{parent} +{ + rtclient_init(); +} - NetworkWorker::~NetworkWorker() - { - rtclient_cleanup(); - } +NetworkWorker::~NetworkWorker() +{ + rtclient_cleanup(); } -- cgit v1.2.3