From f52011d821d0a8e8d7dc54dff88452b7c8dcfc82 Mon Sep 17 00:00:00 2001 From: John Janus Date: Thu, 16 Aug 2018 00:36:56 +0200 Subject: [PATCH] add command files --- cm-lib/cm-lib.pro | 8 ++++++-- cm-lib/src/controllers/commandcontroller.cpp | 6 ++++++ cm-lib/src/controllers/commandcontroller.h | 17 +++++++++++++++++ cm-lib/src/framework/command.cpp | 6 ++++++ cm-lib/src/framework/command.h | 17 +++++++++++++++++ 5 files changed, 52 insertions(+), 2 deletions(-) create mode 100644 cm-lib/src/controllers/commandcontroller.cpp create mode 100644 cm-lib/src/controllers/commandcontroller.h create mode 100644 cm-lib/src/framework/command.cpp create mode 100644 cm-lib/src/framework/command.h 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 -- 2.47.1