From 7acf536d2ca21d6d0585720b669b395ada8ebf31 Mon Sep 17 00:00:00 2001 From: isanae <14251494+isanae@users.noreply.github.com> Date: Mon, 9 Nov 2020 02:38:27 -0500 Subject: [PATCH] moved commands to cmd/ --- src/{ => cmd}/commands.cpp | 12 ++++++------ src/{ => cmd}/commands.h | 0 src/cmd/pch.h | 2 ++ src/main.cpp | 2 +- vs/mob.vcxproj | 4 ++-- vs/mob.vcxproj.filters | 15 +++++++++------ 6 files changed, 20 insertions(+), 15 deletions(-) rename src/{ => cmd}/commands.cpp (99%) rename src/{ => cmd}/commands.h (100%) create mode 100644 src/cmd/pch.h diff --git a/src/commands.cpp b/src/cmd/commands.cpp similarity index 99% rename from src/commands.cpp rename to src/cmd/commands.cpp index 8aa49d7..0cb8e49 100644 --- a/src/commands.cpp +++ b/src/cmd/commands.cpp @@ -1,11 +1,11 @@ #include "pch.h" #include "commands.h" -#include "utility.h" -#include "net.h" -#include "core/conf.h" -#include "tasks/tasks.h" -#include "tools/tools.h" -#include "utility/threading.h" +#include "../utility.h" +#include "../net.h" +#include "../core/conf.h" +#include "../tasks/tasks.h" +#include "../tools/tools.h" +#include "../utility/threading.h" namespace mob { diff --git a/src/commands.h b/src/cmd/commands.h similarity index 100% rename from src/commands.h rename to src/cmd/commands.h diff --git a/src/cmd/pch.h b/src/cmd/pch.h new file mode 100644 index 0000000..d486962 --- /dev/null +++ b/src/cmd/pch.h @@ -0,0 +1,2 @@ +// for intellisense +#include "../pch.h" diff --git a/src/main.cpp b/src/main.cpp index 14c2fb9..f5cb3ec 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,7 +1,7 @@ #include "pch.h" #include "net.h" #include "utility.h" -#include "commands.h" +#include "cmd/commands.h" #include "core/conf.h" #include "core/op.h" #include "tasks/tasks.h" diff --git a/vs/mob.vcxproj b/vs/mob.vcxproj index c1452f8..8544fe3 100644 --- a/vs/mob.vcxproj +++ b/vs/mob.vcxproj @@ -58,7 +58,7 @@ - + @@ -113,7 +113,7 @@ - + diff --git a/vs/mob.vcxproj.filters b/vs/mob.vcxproj.filters index a1f3a05..0321fc5 100644 --- a/vs/mob.vcxproj.filters +++ b/vs/mob.vcxproj.filters @@ -16,6 +16,9 @@ {78dd6066-d407-4450-b520-649454c15ee9} + + {b9307be3-9ccb-4449-8aed-d9b69f0beda9} + @@ -129,9 +132,6 @@ src\tasks - - src - src\tasks @@ -168,6 +168,9 @@ src\utility + + src\cmd + @@ -188,9 +191,6 @@ src\tools - - src - src\core @@ -224,5 +224,8 @@ src\utility + + src\cmd + \ No newline at end of file