From: John Janus Date: Wed, 15 Aug 2018 22:36:56 +0000 (+0200) Subject: add command files X-Git-Url: https://git.johnzone.org/?a=commitdiff_plain;h=f52011d821d0a8e8d7dc54dff88452b7c8dcfc82;p=learnqt-cm.git add command files --- diff --git a/cm-lib/cm-lib.pro b/cm-lib/cm-lib.pro index 4ca5c40..b372021 100644 --- a/cm-lib/cm-lib.pro +++ b/cm-lib/cm-lib.pro @@ -31,13 +31,17 @@ INCLUDEPATH += src SOURCES += \ src/models/client.cpp \ - src/controllers/master-controller.cpp + src/controllers/master-controller.cpp \ + src/framework/command.cpp \ + src/controllers/commandcontroller.cpp HEADERS += \ src/models/client.h \ src/cm-lib_global.h \ src/controllers/master-controller.h \ - src/controllers/navigation-controller.h + src/controllers/navigation-controller.h \ + src/framework/command.h \ + src/controllers/commandcontroller.h unix { target.path = /usr/lib diff --git a/cm-lib/src/controllers/commandcontroller.cpp b/cm-lib/src/controllers/commandcontroller.cpp new file mode 100644 index 0000000..56fb01f --- /dev/null +++ b/cm-lib/src/controllers/commandcontroller.cpp @@ -0,0 +1,6 @@ +#include "commandcontroller.h" + +CommandController::CommandController(QObject *parent) : QObject(parent) +{ + +} diff --git a/cm-lib/src/controllers/commandcontroller.h b/cm-lib/src/controllers/commandcontroller.h new file mode 100644 index 0000000..a322c19 --- /dev/null +++ b/cm-lib/src/controllers/commandcontroller.h @@ -0,0 +1,17 @@ +#ifndef COMMANDCONTROLLER_H +#define COMMANDCONTROLLER_H + +#include + +class CommandController : public QObject +{ + Q_OBJECT +public: + explicit CommandController(QObject *parent = nullptr); + +signals: + +public slots: +}; + +#endif // COMMANDCONTROLLER_H \ No newline at end of file diff --git a/cm-lib/src/framework/command.cpp b/cm-lib/src/framework/command.cpp new file mode 100644 index 0000000..6080208 --- /dev/null +++ b/cm-lib/src/framework/command.cpp @@ -0,0 +1,6 @@ +#include "command.h" + +Command::Command(QObject *parent) : QObject(parent) +{ + +} diff --git a/cm-lib/src/framework/command.h b/cm-lib/src/framework/command.h new file mode 100644 index 0000000..51f4c1a --- /dev/null +++ b/cm-lib/src/framework/command.h @@ -0,0 +1,17 @@ +#ifndef COMMAND_H +#define COMMAND_H + +#include + +class Command : public QObject +{ + Q_OBJECT +public: + explicit Command(QObject *parent = nullptr); + +signals: + +public slots: +}; + +#endif // COMMAND_H \ No newline at end of file