From 66c731bf65e7c1a90d8bb03d3308ed0097c4250f Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Wed, 8 Sep 2021 17:26:17 +0300 Subject: [PATCH] Remove unnecessary files. --- module/CMakeLists.txt | 2 -- module/PocoLib/JSON.cpp | 18 ------------------ module/PocoLib/JSON.hpp | 11 ----------- module/PocoLib/Register.cpp | 4 ---- module/PocoLib/XML.cpp | 18 ------------------ module/PocoLib/XML.hpp | 11 ----------- 6 files changed, 64 deletions(-) delete mode 100644 module/PocoLib/JSON.cpp delete mode 100644 module/PocoLib/JSON.hpp delete mode 100644 module/PocoLib/XML.cpp delete mode 100644 module/PocoLib/XML.hpp diff --git a/module/CMakeLists.txt b/module/CMakeLists.txt index a80ef19b..f6778270 100644 --- a/module/CMakeLists.txt +++ b/module/CMakeLists.txt @@ -105,13 +105,11 @@ add_library(SqModule MODULE SqBase.hpp Main.cpp # POCO PocoLib/Crypto.cpp PocoLib/Crypto.hpp PocoLib/Data.cpp PocoLib/Data.hpp - PocoLib/JSON.cpp PocoLib/JSON.hpp PocoLib/Net.cpp PocoLib/Net.hpp PocoLib/RegEx.cpp PocoLib/RegEx.hpp PocoLib/Register.cpp PocoLib/Register.hpp PocoLib/Time.cpp PocoLib/Time.hpp PocoLib/Util.cpp PocoLib/Util.hpp - PocoLib/XML.cpp PocoLib/XML.hpp # Core.cpp Core.hpp Logger.cpp Logger.hpp diff --git a/module/PocoLib/JSON.cpp b/module/PocoLib/JSON.cpp deleted file mode 100644 index 9154fb15..00000000 --- a/module/PocoLib/JSON.cpp +++ /dev/null @@ -1,18 +0,0 @@ -// ------------------------------------------------------------------------------------------------ -#include "PocoLib/JSON.hpp" - -// ------------------------------------------------------------------------------------------------ -namespace SqMod { - -// ------------------------------------------------------------------------------------------------ - - -// ================================================================================================ -void Register_POCO_JSON(HSQUIRRELVM vm, Table &) -{ - //Table ns(vm); - - //RootTable(vm).Bind(_SC("SqJSON"), ns); -} - -} // Namespace:: SqMod diff --git a/module/PocoLib/JSON.hpp b/module/PocoLib/JSON.hpp deleted file mode 100644 index 4eca0ee6..00000000 --- a/module/PocoLib/JSON.hpp +++ /dev/null @@ -1,11 +0,0 @@ -#pragma once - -// ------------------------------------------------------------------------------------------------ -#include "Core/Common.hpp" - -// ------------------------------------------------------------------------------------------------ -namespace SqMod { - - - -} // Namespace:: SqMod diff --git a/module/PocoLib/Register.cpp b/module/PocoLib/Register.cpp index 3e21a48c..a73de8b2 100644 --- a/module/PocoLib/Register.cpp +++ b/module/PocoLib/Register.cpp @@ -7,12 +7,10 @@ namespace SqMod { // ------------------------------------------------------------------------------------------------ extern void Register_POCO_Crypto(HSQUIRRELVM vm, Table & ns); extern void Register_POCO_Data(HSQUIRRELVM vm, Table & ns); -extern void Register_POCO_JSON(HSQUIRRELVM vm, Table & ns); extern void Register_POCO_Net(HSQUIRRELVM vm, Table & ns); extern void Register_POCO_RegEx(HSQUIRRELVM vm, Table & ns); extern void Register_POCO_Time(HSQUIRRELVM vm, Table & ns); extern void Register_POCO_Util(HSQUIRRELVM vm, Table & ns); -extern void Register_POCO_XML(HSQUIRRELVM vm, Table & ns); // ================================================================================================ void Register_POCO(HSQUIRRELVM vm) @@ -21,12 +19,10 @@ void Register_POCO(HSQUIRRELVM vm) Register_POCO_Crypto(vm, ns); Register_POCO_Data(vm, ns); - Register_POCO_JSON(vm, ns); Register_POCO_Net(vm, ns); Register_POCO_RegEx(vm, ns); Register_POCO_Time(vm, ns); Register_POCO_Util(vm, ns); - Register_POCO_XML(vm, ns); RootTable(vm).Bind(_SC("Sq"), ns); } diff --git a/module/PocoLib/XML.cpp b/module/PocoLib/XML.cpp deleted file mode 100644 index 259a894d..00000000 --- a/module/PocoLib/XML.cpp +++ /dev/null @@ -1,18 +0,0 @@ -// ------------------------------------------------------------------------------------------------ -#include "PocoLib/XML.hpp" - -// ------------------------------------------------------------------------------------------------ -namespace SqMod { - -// ------------------------------------------------------------------------------------------------ - - -// ================================================================================================ -void Register_POCO_XML(HSQUIRRELVM vm, Table &) -{ - //Table ns(vm); - - //RootTable(vm).Bind(_SC("SqXML"), ns); -} - -} // Namespace:: SqMod diff --git a/module/PocoLib/XML.hpp b/module/PocoLib/XML.hpp deleted file mode 100644 index 4eca0ee6..00000000 --- a/module/PocoLib/XML.hpp +++ /dev/null @@ -1,11 +0,0 @@ -#pragma once - -// ------------------------------------------------------------------------------------------------ -#include "Core/Common.hpp" - -// ------------------------------------------------------------------------------------------------ -namespace SqMod { - - - -} // Namespace:: SqMod