From f8dbe8e0f771949f83e91b5e37a690e571a047ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Sun, 4 Jul 2021 15:29:04 +0800 Subject: Separated client code --- controller.hxx | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 controller.hxx (limited to 'controller.hxx') 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 + +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 -- cgit v1.2.3