diff options
| author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-04 15:29:04 +0800 |
|---|---|---|
| committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-04 15:29:04 +0800 |
| commit | f8dbe8e0f771949f83e91b5e37a690e571a047ee (patch) | |
| tree | 50cb474a2ebe8e0e730d38186dad87912c0d5f4d /controller.hxx | |
Separated client code
Diffstat (limited to 'controller.hxx')
| -rw-r--r-- | controller.hxx | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/controller.hxx b/controller.hxx new file mode 100644 index 0000000..b073a67 --- /dev/null +++ b/controller.hxx @@ -0,0 +1,21 @@ +#ifndef CONTROLLER_HXX +#define CONTROLLER_HXX + +#include <qicclient.hxx> + +using namespace QICClient; + +class Controller : public QObject +{ + Q_OBJECT + public: + Controller(QObject* parent = nullptr); + ~Controller(); + signals: + void signUp(QString const& name); + private: + Client* interchange; + Catalog* catalog; +}; + +#endif |