From 11877dc7ac3adc41696ed3fb3e71ec159963f2a7 Mon Sep 17 00:00:00 2001
From: EndrII <EndrIIMail@gmail.com>
Date: Sat, 20 Mar 2021 16:56:49 +0300
Subject: [PATCH] remove qml

---
 src/Library/src/CQtDeployerServer.qrc                |  6 ------
 .../CQtDeployerServerModule/CQtDeployerServer.qml    | 12 ------------
 src/Library/src/CQtDeployerServerModule/qmldir       |  3 ---
 .../src/{CQtDeployerServer.cpp => CQtServer.cpp}     |  4 ++--
 src/Library/src/{CQtDeployerServer.h => CQtServer.h} |  8 +++-----
 src/Library/src/CQtServer.qrc                        |  3 +++
 ...CQtDeployerServer_global.h => CQtServer_global.h} |  0
 src/Library/src/idistributor.cpp                     |  6 ++++++
 src/Library/src/idistributor.h                       | 11 +++++++++++
 9 files changed, 25 insertions(+), 28 deletions(-)
 delete mode 100644 src/Library/src/CQtDeployerServer.qrc
 delete mode 100644 src/Library/src/CQtDeployerServerModule/CQtDeployerServer.qml
 delete mode 100644 src/Library/src/CQtDeployerServerModule/qmldir
 rename src/Library/src/{CQtDeployerServer.cpp => CQtServer.cpp} (84%)
 rename src/Library/src/{CQtDeployerServer.h => CQtServer.h} (79%)
 create mode 100644 src/Library/src/CQtServer.qrc
 rename src/Library/src/{CQtDeployerServer_global.h => CQtServer_global.h} (100%)
 create mode 100644 src/Library/src/idistributor.cpp
 create mode 100644 src/Library/src/idistributor.h

diff --git a/src/Library/src/CQtDeployerServer.qrc b/src/Library/src/CQtDeployerServer.qrc
deleted file mode 100644
index 03d9ef1..0000000
--- a/src/Library/src/CQtDeployerServer.qrc
+++ /dev/null
@@ -1,6 +0,0 @@
-<RCC>
-    <qresource prefix="/">
-        <file>CQtDeployerServerModule/qmldir</file>
-        <file>CQtDeployerServerModule/CQtDeployerServer.qml</file>
-    </qresource>
-</RCC>
diff --git a/src/Library/src/CQtDeployerServerModule/CQtDeployerServer.qml b/src/Library/src/CQtDeployerServerModule/CQtDeployerServer.qml
deleted file mode 100644
index 95b8b53..0000000
--- a/src/Library/src/CQtDeployerServerModule/CQtDeployerServer.qml
+++ /dev/null
@@ -1,12 +0,0 @@
-//#
-//# Copyright (C) 2021-2021 QuasarApp.
-//# Distributed under the lgplv3 software license, see the accompanying
-//# Everyone is permitted to copy and distribute verbatim copies
-//# of this license document, but changing it is not allowed.
-//#
-
-import QtQuick 2.15
-
-Item {
-
-}
diff --git a/src/Library/src/CQtDeployerServerModule/qmldir b/src/Library/src/CQtDeployerServerModule/qmldir
deleted file mode 100644
index c5a21e7..0000000
--- a/src/Library/src/CQtDeployerServerModule/qmldir
+++ /dev/null
@@ -1,3 +0,0 @@
-module QuasarAppCreditsModule
-CQtDeployerServer 1.0 CQtDeployerServer.qml
-
diff --git a/src/Library/src/CQtDeployerServer.cpp b/src/Library/src/CQtServer.cpp
similarity index 84%
rename from src/Library/src/CQtDeployerServer.cpp
rename to src/Library/src/CQtServer.cpp
index 70be5a1..e38771d 100644
--- a/src/Library/src/CQtDeployerServer.cpp
+++ b/src/Library/src/CQtServer.cpp
@@ -5,10 +5,10 @@
 //# of this license document, but changing it is not allowed.
 //#
 
-#include "CQtDeployerServer.h"
+#include "CQtServer.h"
 
 
-namespace CQtDeployerServer {
+namespace CQT {
 
 bool init() {
     initCQtDeployerServerResources();
diff --git a/src/Library/src/CQtDeployerServer.h b/src/Library/src/CQtServer.h
similarity index 79%
rename from src/Library/src/CQtDeployerServer.h
rename to src/Library/src/CQtServer.h
index 6bfae0b..0f7e617 100644
--- a/src/Library/src/CQtDeployerServer.h
+++ b/src/Library/src/CQtServer.h
@@ -5,12 +5,10 @@
 //# of this license document, but changing it is not allowed.
 //#
 
-#include "CQtDeployerServer_global.h"
-
-namespace CQtDeployerServer {
-
-inline void initCQtDeployerServerResources() { Q_INIT_RESOURCE(CQtDeployerServer); }
+#include "CQtServer_global.h"
+inline void initCQtDeployerServerResources() { Q_INIT_RESOURCE(CQT); }
 
+namespace CQT {
 
 bool CQtDeployerServer_EXPORT init();
 
diff --git a/src/Library/src/CQtServer.qrc b/src/Library/src/CQtServer.qrc
new file mode 100644
index 0000000..4d8ed66
--- /dev/null
+++ b/src/Library/src/CQtServer.qrc
@@ -0,0 +1,3 @@
+<RCC>
+    <qresource prefix="/"/>
+</RCC>
diff --git a/src/Library/src/CQtDeployerServer_global.h b/src/Library/src/CQtServer_global.h
similarity index 100%
rename from src/Library/src/CQtDeployerServer_global.h
rename to src/Library/src/CQtServer_global.h
diff --git a/src/Library/src/idistributor.cpp b/src/Library/src/idistributor.cpp
new file mode 100644
index 0000000..658647f
--- /dev/null
+++ b/src/Library/src/idistributor.cpp
@@ -0,0 +1,6 @@
+#include "idistributor.h"
+
+iDistributor::iDistributor()
+{
+
+}
diff --git a/src/Library/src/idistributor.h b/src/Library/src/idistributor.h
new file mode 100644
index 0000000..05f8c98
--- /dev/null
+++ b/src/Library/src/idistributor.h
@@ -0,0 +1,11 @@
+#ifndef IDISTRIBUTOR_H
+#define IDISTRIBUTOR_H
+
+
+class iDistributor
+{
+public:
+    iDistributor();
+};
+
+#endif // IDISTRIBUTOR_H