From 387de6cefbe0eb72153c8b5938995b6598caff87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Fri, 29 Jan 2021 13:04:23 +0100 Subject: [PATCH] Move mesTransceiver to ksys/Utils/Thread --- src/KingSystem/ActorSystem/actAiParam.h | 2 +- src/KingSystem/CMakeLists.txt | 1 - src/KingSystem/MessageSystem/CMakeLists.txt | 3 --- src/KingSystem/Utils/CMakeLists.txt | 1 + .../mesTransceiver.h => Utils/Thread/MessageTransceiver.h} | 0 5 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 src/KingSystem/MessageSystem/CMakeLists.txt rename src/KingSystem/{MessageSystem/mesTransceiver.h => Utils/Thread/MessageTransceiver.h} (100%) diff --git a/src/KingSystem/ActorSystem/actAiParam.h b/src/KingSystem/ActorSystem/actAiParam.h index 5465ecf8..ea4a43b3 100644 --- a/src/KingSystem/ActorSystem/actAiParam.h +++ b/src/KingSystem/ActorSystem/actAiParam.h @@ -9,7 +9,7 @@ #include "KingSystem/ActorSystem/actAiClassDef.h" #include "KingSystem/ActorSystem/actBaseProcLink.h" -#include "KingSystem/MessageSystem/mesTransceiver.h" +#include "KingSystem/Utils/Thread/MessageTransceiver.h" #include "KingSystem/Utils/Types.h" namespace ksys { diff --git a/src/KingSystem/CMakeLists.txt b/src/KingSystem/CMakeLists.txt index f430ca2b..15a1f8b7 100644 --- a/src/KingSystem/CMakeLists.txt +++ b/src/KingSystem/CMakeLists.txt @@ -8,7 +8,6 @@ add_subdirectory(Ecosystem) add_subdirectory(Event) add_subdirectory(Framework) add_subdirectory(Map) -add_subdirectory(MessageSystem) add_subdirectory(Sound) add_subdirectory(System) add_subdirectory(Terrain) diff --git a/src/KingSystem/MessageSystem/CMakeLists.txt b/src/KingSystem/MessageSystem/CMakeLists.txt deleted file mode 100644 index 9077fe46..00000000 --- a/src/KingSystem/MessageSystem/CMakeLists.txt +++ /dev/null @@ -1,3 +0,0 @@ -target_sources(uking PRIVATE - mesTransceiver.h -) diff --git a/src/KingSystem/Utils/CMakeLists.txt b/src/KingSystem/Utils/CMakeLists.txt index 45b8ecdd..89058548 100644 --- a/src/KingSystem/Utils/CMakeLists.txt +++ b/src/KingSystem/Utils/CMakeLists.txt @@ -7,6 +7,7 @@ target_sources(uking PRIVATE Thread/ManagedTask.h Thread/ManagedTaskHandle.cpp Thread/ManagedTaskHandle.h + Thread/MessageTransceiver.h Thread/Task.cpp Thread/Task.h Thread/TaskData.h diff --git a/src/KingSystem/MessageSystem/mesTransceiver.h b/src/KingSystem/Utils/Thread/MessageTransceiver.h similarity index 100% rename from src/KingSystem/MessageSystem/mesTransceiver.h rename to src/KingSystem/Utils/Thread/MessageTransceiver.h