diff options
author | Erik Prabowo Kamal <erik@darapsa.co.id> | 2019-08-29 15:30:00 +0800 |
---|---|---|
committer | Erik Prabowo Kamal <erik@darapsa.co.id> | 2019-08-29 15:30:00 +0800 |
commit | c8891b50d1f30c7c07bf96f8eaf2e1002ce573b8 (patch) | |
tree | 6e3023aa0b11da7a0ccdb00c33d911e4a5aa3d69 /controller.hxx | |
parent | 938ea55a0a272b6fd1e35ee383c1f444cdbebf05 (diff) |
Set up a way for the thread to quit
Diffstat (limited to 'controller.hxx')
-rw-r--r-- | controller.hxx | 18 |
1 files changed, 18 insertions, 0 deletions
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 <QThread> + +class Controller : public QObject +{ + Q_OBJECT + + public: + Controller(); + ~Controller(); + + private: + QThread thread; +}; + +#endif // CONTROLLER_HXX |