From 107ae2d6c90894fdb8ce35274668e5c0b44bc0af Mon Sep 17 00:00:00 2001 From: Kilian Hofmann Date: Mon, 3 Jan 2022 17:17:35 +0100 Subject: [PATCH] Naming --- file/{include/config.h => config.hpp} | 2 +- file/{include/gate.h => gate.hpp} | 0 file/{include/runway.h => runway.hpp} | 2 +- .../simulatorDatabase.h => simulatorDatabase.hpp} | 6 +++--- file/{include/stringExtensions.h => stringExtensions.hpp} | 0 file/{include/util.h => util.hpp} | 0 websocket/include/websocket.h | 2 +- xplugin/CMakeLists.txt | 2 +- xplugin/include/main.h | 4 ++-- xplugin/include/makeRwysXP.h | 8 ++++---- 10 files changed, 13 insertions(+), 13 deletions(-) rename file/{include/config.h => config.hpp} (97%) rename file/{include/gate.h => gate.hpp} (100%) rename file/{include/runway.h => runway.hpp} (99%) rename file/{include/simulatorDatabase.h => simulatorDatabase.hpp} (98%) rename file/{include/stringExtensions.h => stringExtensions.hpp} (100%) rename file/{include/util.h => util.hpp} (100%) diff --git a/file/include/config.h b/file/config.hpp similarity index 97% rename from file/include/config.h rename to file/config.hpp index cbcecfd..cc87d6c 100644 --- a/file/include/config.h +++ b/file/config.hpp @@ -1,7 +1,7 @@ #ifndef GERMANAIRLINESVA_GACONNECTOR_CONFIG_H #define GERMANAIRLINESVA_GACONNECTOR_CONFIG_H -#include "stringExtensions.h" +#include "stringExtensions.hpp" #include diff --git a/file/include/gate.h b/file/gate.hpp similarity index 100% rename from file/include/gate.h rename to file/gate.hpp diff --git a/file/include/runway.h b/file/runway.hpp similarity index 99% rename from file/include/runway.h rename to file/runway.hpp index 79e7ed9..ee94b32 100644 --- a/file/include/runway.h +++ b/file/runway.hpp @@ -7,7 +7,7 @@ #include #include -#include "util.h" +#include "util.hpp" /* * Representation of one X-Plane runway with supplementary information diff --git a/file/include/simulatorDatabase.h b/file/simulatorDatabase.hpp similarity index 98% rename from file/include/simulatorDatabase.h rename to file/simulatorDatabase.hpp index f109668..e92a5bb 100644 --- a/file/include/simulatorDatabase.h +++ b/file/simulatorDatabase.hpp @@ -1,9 +1,9 @@ #ifndef GERMANAIRLINESVA_GACONNECTOR_SIMULATORDATABASE_H #define GERMANAIRLINESVA_GACONNECTOR_SIMULATORDATABASE_H -#include "gate.h" -#include "runway.h" -#include "stringExtensions.h" +#include "gate.hpp" +#include "runway.hpp" +#include "stringExtensions.hpp" #define CURRENT_VERSION 1 diff --git a/file/include/stringExtensions.h b/file/stringExtensions.hpp similarity index 100% rename from file/include/stringExtensions.h rename to file/stringExtensions.hpp diff --git a/file/include/util.h b/file/util.hpp similarity index 100% rename from file/include/util.h rename to file/util.hpp diff --git a/websocket/include/websocket.h b/websocket/include/websocket.h index e83f12d..6a6fe29 100644 --- a/websocket/include/websocket.h +++ b/websocket/include/websocket.h @@ -10,7 +10,7 @@ #include #include "types.h" -#include "util.h" +#include "util.hpp" #include #include diff --git a/xplugin/CMakeLists.txt b/xplugin/CMakeLists.txt index 279bf97..7d23add 100644 --- a/xplugin/CMakeLists.txt +++ b/xplugin/CMakeLists.txt @@ -22,7 +22,7 @@ target_include_directories(germanairlinesva_xplugin PRIVATE ${CMAKE_SOURCE_DIR}/websocket/include ${CMAKE_SOURCE_DIR}/XPSDK/CHeaders ${CMAKE_SOURCE_DIR}/nlohmann - ${CMAKE_SOURCE_DIR}/file/include + ${CMAKE_SOURCE_DIR}/file ) set_target_properties(germanairlinesva_xplugin PROPERTIES diff --git a/xplugin/include/main.h b/xplugin/include/main.h index d6f5934..a380305 100644 --- a/xplugin/include/main.h +++ b/xplugin/include/main.h @@ -1,9 +1,9 @@ #ifndef GERMANAIRLINESVA_GACONNECTOR_XPLUGIN_MAIN_H #define GERMANAIRLINESVA_GACONNECTOR_XPLUGIN_MAIN_H -#include "config.h" +#include "config.hpp" #include "makeRwysXP.h" -#include "simulatorDatabase.h" +#include "simulatorDatabase.hpp" #include "websocket.h" #include "XPLM/XPLMDataAccess.h" diff --git a/xplugin/include/makeRwysXP.h b/xplugin/include/makeRwysXP.h index 8cecce3..1b35b82 100644 --- a/xplugin/include/makeRwysXP.h +++ b/xplugin/include/makeRwysXP.h @@ -6,10 +6,10 @@ #include #include -#include "gate.h" -#include "runway.h" -#include "stringExtensions.h" -#include "util.h" +#include "gate.hpp" +#include "runway.hpp" +#include "stringExtensions.hpp" +#include "util.hpp" int scan(const char *defaultFile, const char *sceneryPack,