]> Johnzone git - learnqt-cm.git/commitdiff
add command files
authorJohn Janus <mail@johnzone.org>
Wed, 15 Aug 2018 22:36:56 +0000 (00:36 +0200)
committerJohn Janus <mail@johnzone.org>
Wed, 15 Aug 2018 22:36:56 +0000 (00:36 +0200)
cm-lib/cm-lib.pro
cm-lib/src/controllers/commandcontroller.cpp [new file with mode: 0644]
cm-lib/src/controllers/commandcontroller.h [new file with mode: 0644]
cm-lib/src/framework/command.cpp [new file with mode: 0644]
cm-lib/src/framework/command.h [new file with mode: 0644]

index 4ca5c40990fdae0d045d24f7e6e3986cbee4176d..b37202131805548bb127b56b210aa6a82e1a1047 100644 (file)
@@ -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 (file)
index 0000000..56fb01f
--- /dev/null
@@ -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 (file)
index 0000000..a322c19
--- /dev/null
@@ -0,0 +1,17 @@
+#ifndef COMMANDCONTROLLER_H
+#define COMMANDCONTROLLER_H
+
+#include <QObject>
+
+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 (file)
index 0000000..6080208
--- /dev/null
@@ -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 (file)
index 0000000..51f4c1a
--- /dev/null
@@ -0,0 +1,17 @@
+#ifndef COMMAND_H
+#define COMMAND_H
+
+#include <QObject>
+
+class Command : public QObject
+{
+  Q_OBJECT
+public:
+  explicit Command(QObject *parent = nullptr);
+
+signals:
+
+public slots:
+};
+
+#endif // COMMAND_H
\ No newline at end of file