From c8891b50d1f30c7c07bf96f8eaf2e1002ce573b8 Mon Sep 17 00:00:00 2001 From: Erik Prabowo Kamal Date: Thu, 29 Aug 2019 15:30:00 +0800 Subject: Set up a way for the thread to quit --- controller.hxx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 controller.hxx (limited to 'controller.hxx') diff --git a/controller.hxx b/controller.hxx new file mode 100644 index 0000000..e293ec4 --- /dev/null +++ b/controller.hxx @@ -0,0 +1,18 @@ +#ifndef CONTROLLER_HXX +#define CONTROLLER_HXX + +#include + +class Controller : public QObject +{ + Q_OBJECT + + public: + Controller(); + ~Controller(); + + private: + QThread thread; +}; + +#endif // CONTROLLER_HXX -- cgit v1.2.3