From 49161df0e694aaedf1c766bbe9023d2437bd649e Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sun, 21 Jun 2020 12:26:21 +0200 Subject: [PATCH] Renamed platform.cpp/platform.h to Platform.cpp/Platform.h The naming convention for the rest of the application is to start the file names with a capital letter. --- es-app/src/FileData.cpp | 2 +- es-app/src/SystemData.cpp | 2 +- es-app/src/guis/GuiMenu.cpp | 2 +- es-app/src/main.cpp | 2 +- es-core/CMakeLists.txt | 4 ++-- es-core/src/InputManager.cpp | 2 +- es-core/src/Log.cpp | 2 +- es-core/src/{platform.cpp => Platform.cpp} | 2 +- es-core/src/{platform.h => Platform.h} | 0 es-core/src/Scripting.cpp | 2 +- es-core/src/Settings.cpp | 2 +- es-core/src/ThemeData.cpp | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) rename es-core/src/{platform.cpp => Platform.cpp} (98%) rename es-core/src/{platform.h => Platform.h} (100%) diff --git a/es-app/src/FileData.cpp b/es-app/src/FileData.cpp index 26ff1652f..762065594 100644 --- a/es-app/src/FileData.cpp +++ b/es-app/src/FileData.cpp @@ -17,7 +17,7 @@ #include "FileSorts.h" #include "Log.h" #include "MameNames.h" -#include "platform.h" +#include "Platform.h" #include "Scripting.h" #include "SystemData.h" #include "VolumeControl.h" diff --git a/es-app/src/SystemData.cpp b/es-app/src/SystemData.cpp index 39673550c..a28aa7bde 100644 --- a/es-app/src/SystemData.cpp +++ b/es-app/src/SystemData.cpp @@ -16,7 +16,7 @@ #include "FileSorts.h" #include "Gamelist.h" #include "Log.h" -#include "platform.h" +#include "Platform.h" #include "Settings.h" #include "ThemeData.h" #include "views/UIModeController.h" diff --git a/es-app/src/guis/GuiMenu.cpp b/es-app/src/guis/GuiMenu.cpp index dc3966222..792b14d68 100644 --- a/es-app/src/guis/GuiMenu.cpp +++ b/es-app/src/guis/GuiMenu.cpp @@ -21,12 +21,12 @@ #include "views/gamelist/IGameListView.h" #include "CollectionSystemManager.h" #include "EmulationStation.h" +#include "Platform.h" #include "Scripting.h" #include "SystemData.h" #include "VolumeControl.h" #include #include -#include "platform.h" GuiMenu::GuiMenu( Window* window) diff --git a/es-app/src/main.cpp b/es-app/src/main.cpp index eb1d624c3..976c3d6f3 100644 --- a/es-app/src/main.cpp +++ b/es-app/src/main.cpp @@ -25,7 +25,7 @@ #include "InputManager.h" #include "Log.h" #include "MameNames.h" -#include "platform.h" +#include "Platform.h" #include "PowerSaver.h" #include "Settings.h" #include "SystemData.h" diff --git a/es-core/CMakeLists.txt b/es-core/CMakeLists.txt index bd91a83ae..1c6a4ee71 100644 --- a/es-core/CMakeLists.txt +++ b/es-core/CMakeLists.txt @@ -12,7 +12,7 @@ set(CORE_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/src/InputManager.h ${CMAKE_CURRENT_SOURCE_DIR}/src/Log.h ${CMAKE_CURRENT_SOURCE_DIR}/src/MameNames.h - ${CMAKE_CURRENT_SOURCE_DIR}/src/platform.h + ${CMAKE_CURRENT_SOURCE_DIR}/src/Platform.h ${CMAKE_CURRENT_SOURCE_DIR}/src/PowerSaver.h ${CMAKE_CURRENT_SOURCE_DIR}/src/Settings.h ${CMAKE_CURRENT_SOURCE_DIR}/src/Sound.h @@ -93,7 +93,7 @@ set(CORE_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/src/InputManager.cpp ${CMAKE_CURRENT_SOURCE_DIR}/src/Log.cpp ${CMAKE_CURRENT_SOURCE_DIR}/src/MameNames.cpp - ${CMAKE_CURRENT_SOURCE_DIR}/src/platform.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/src/Platform.cpp ${CMAKE_CURRENT_SOURCE_DIR}/src/PowerSaver.cpp ${CMAKE_CURRENT_SOURCE_DIR}/src/Scripting.cpp ${CMAKE_CURRENT_SOURCE_DIR}/src/Settings.cpp diff --git a/es-core/src/InputManager.cpp b/es-core/src/InputManager.cpp index 094c2d826..7ceaf0bd5 100644 --- a/es-core/src/InputManager.cpp +++ b/es-core/src/InputManager.cpp @@ -3,7 +3,7 @@ #include "utils/FileSystemUtil.h" #include "CECInput.h" #include "Log.h" -#include "platform.h" +#include "Platform.h" #include "Scripting.h" #include "Window.h" #include diff --git a/es-core/src/Log.cpp b/es-core/src/Log.cpp index bcae38488..6fdc84630 100644 --- a/es-core/src/Log.cpp +++ b/es-core/src/Log.cpp @@ -1,7 +1,7 @@ #include "Log.h" #include "utils/FileSystemUtil.h" -#include "platform.h" +#include "Platform.h" #include #include diff --git a/es-core/src/platform.cpp b/es-core/src/Platform.cpp similarity index 98% rename from es-core/src/platform.cpp rename to es-core/src/Platform.cpp index 5402ae642..034b23e4f 100644 --- a/es-core/src/platform.cpp +++ b/es-core/src/Platform.cpp @@ -1,4 +1,4 @@ -#include "platform.h" +#include "Platform.h" #include #ifdef WIN32 diff --git a/es-core/src/platform.h b/es-core/src/Platform.h similarity index 100% rename from es-core/src/platform.h rename to es-core/src/Platform.h diff --git a/es-core/src/Scripting.cpp b/es-core/src/Scripting.cpp index 3038db0a4..01f04ecb7 100644 --- a/es-core/src/Scripting.cpp +++ b/es-core/src/Scripting.cpp @@ -1,6 +1,6 @@ #include "Scripting.h" #include "Log.h" -#include "platform.h" +#include "Platform.h" #include "utils/FileSystemUtil.h" namespace Scripting diff --git a/es-core/src/Settings.cpp b/es-core/src/Settings.cpp index 563314f78..f46526048 100644 --- a/es-core/src/Settings.cpp +++ b/es-core/src/Settings.cpp @@ -10,7 +10,7 @@ #include "utils/FileSystemUtil.h" #include "Log.h" #include "Scripting.h" -#include "platform.h" +#include "Platform.h" #include #include #include diff --git a/es-core/src/ThemeData.cpp b/es-core/src/ThemeData.cpp index 629a1be56..92e1aa4c0 100644 --- a/es-core/src/ThemeData.cpp +++ b/es-core/src/ThemeData.cpp @@ -5,7 +5,7 @@ #include "utils/FileSystemUtil.h" #include "utils/StringUtil.h" #include "Log.h" -#include "platform.h" +#include "Platform.h" #include "Settings.h" #include #include