Renamed Platform to utils/PlatformUtil

This commit is contained in:
Leon Styhre 2022-01-10 18:56:04 +01:00
parent 2d149c5161
commit b4e08ba92b
12 changed files with 12 additions and 18 deletions

View file

@ -15,11 +15,11 @@
#include "FileSorts.h" #include "FileSorts.h"
#include "Log.h" #include "Log.h"
#include "MameNames.h" #include "MameNames.h"
#include "Platform.h"
#include "Scripting.h" #include "Scripting.h"
#include "SystemData.h" #include "SystemData.h"
#include "Window.h" #include "Window.h"
#include "utils/FileSystemUtil.h" #include "utils/FileSystemUtil.h"
#include "utils/PlatformUtil.h"
#include "utils/StringUtil.h" #include "utils/StringUtil.h"
#include "utils/TimeUtil.h" #include "utils/TimeUtil.h"
#include "views/UIModeController.h" #include "views/UIModeController.h"

View file

@ -16,7 +16,6 @@
#include "FileSorts.h" #include "FileSorts.h"
#include "Gamelist.h" #include "Gamelist.h"
#include "Log.h" #include "Log.h"
#include "Platform.h"
#include "Settings.h" #include "Settings.h"
#include "ThemeData.h" #include "ThemeData.h"
#include "resources/ResourceManager.h" #include "resources/ResourceManager.h"

View file

@ -13,7 +13,6 @@
#include "EmulationStation.h" #include "EmulationStation.h"
#include "FileFilterIndex.h" #include "FileFilterIndex.h"
#include "FileSorts.h" #include "FileSorts.h"
#include "Platform.h"
#include "Scripting.h" #include "Scripting.h"
#include "SystemData.h" #include "SystemData.h"
#include "VolumeControl.h" #include "VolumeControl.h"
@ -29,6 +28,7 @@
#include "guis/GuiScreensaverOptions.h" #include "guis/GuiScreensaverOptions.h"
#include "guis/GuiTextEditKeyboardPopup.h" #include "guis/GuiTextEditKeyboardPopup.h"
#include "guis/GuiTextEditPopup.h" #include "guis/GuiTextEditPopup.h"
#include "utils/PlatformUtil.h"
#include "views/UIModeController.h" #include "views/UIModeController.h"
#include "views/ViewController.h" #include "views/ViewController.h"
#include "views/gamelist/IGameListView.h" #include "views/gamelist/IGameListView.h"

View file

@ -24,7 +24,6 @@
#include "Log.h" #include "Log.h"
#include "MameNames.h" #include "MameNames.h"
#include "MediaViewer.h" #include "MediaViewer.h"
#include "Platform.h"
#include "Settings.h" #include "Settings.h"
#include "Sound.h" #include "Sound.h"
#include "SystemData.h" #include "SystemData.h"
@ -33,6 +32,7 @@
#include "guis/GuiLaunchScreen.h" #include "guis/GuiLaunchScreen.h"
#include "guis/GuiMsgBox.h" #include "guis/GuiMsgBox.h"
#include "utils/FileSystemUtil.h" #include "utils/FileSystemUtil.h"
#include "utils/PlatformUtil.h"
#include "utils/StringUtil.h" #include "utils/StringUtil.h"
#include "views/ViewController.h" #include "views/ViewController.h"

View file

@ -20,7 +20,6 @@ set(CORE_HEADERS
${CMAKE_CURRENT_SOURCE_DIR}/src/InputManager.h ${CMAKE_CURRENT_SOURCE_DIR}/src/InputManager.h
${CMAKE_CURRENT_SOURCE_DIR}/src/Log.h ${CMAKE_CURRENT_SOURCE_DIR}/src/Log.h
${CMAKE_CURRENT_SOURCE_DIR}/src/MameNames.h ${CMAKE_CURRENT_SOURCE_DIR}/src/MameNames.h
${CMAKE_CURRENT_SOURCE_DIR}/src/Platform.h
${CMAKE_CURRENT_SOURCE_DIR}/src/Settings.h ${CMAKE_CURRENT_SOURCE_DIR}/src/Settings.h
${CMAKE_CURRENT_SOURCE_DIR}/src/Sound.h ${CMAKE_CURRENT_SOURCE_DIR}/src/Sound.h
${CMAKE_CURRENT_SOURCE_DIR}/src/ThemeData.h ${CMAKE_CURRENT_SOURCE_DIR}/src/ThemeData.h
@ -85,6 +84,7 @@ set(CORE_HEADERS
${CMAKE_CURRENT_SOURCE_DIR}/src/utils/CImgUtil.h ${CMAKE_CURRENT_SOURCE_DIR}/src/utils/CImgUtil.h
${CMAKE_CURRENT_SOURCE_DIR}/src/utils/FileSystemUtil.h ${CMAKE_CURRENT_SOURCE_DIR}/src/utils/FileSystemUtil.h
${CMAKE_CURRENT_SOURCE_DIR}/src/utils/MathUtil.h ${CMAKE_CURRENT_SOURCE_DIR}/src/utils/MathUtil.h
${CMAKE_CURRENT_SOURCE_DIR}/src/utils/PlatformUtil.h
${CMAKE_CURRENT_SOURCE_DIR}/src/utils/StringUtil.h ${CMAKE_CURRENT_SOURCE_DIR}/src/utils/StringUtil.h
${CMAKE_CURRENT_SOURCE_DIR}/src/utils/TimeUtil.h ${CMAKE_CURRENT_SOURCE_DIR}/src/utils/TimeUtil.h
) )
@ -100,7 +100,6 @@ set(CORE_SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/src/InputManager.cpp ${CMAKE_CURRENT_SOURCE_DIR}/src/InputManager.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/Log.cpp ${CMAKE_CURRENT_SOURCE_DIR}/src/Log.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/MameNames.cpp ${CMAKE_CURRENT_SOURCE_DIR}/src/MameNames.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/Platform.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/Scripting.cpp ${CMAKE_CURRENT_SOURCE_DIR}/src/Scripting.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/Settings.cpp ${CMAKE_CURRENT_SOURCE_DIR}/src/Settings.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/Sound.cpp ${CMAKE_CURRENT_SOURCE_DIR}/src/Sound.cpp
@ -160,6 +159,7 @@ set(CORE_SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/src/utils/CImgUtil.cpp ${CMAKE_CURRENT_SOURCE_DIR}/src/utils/CImgUtil.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/utils/FileSystemUtil.cpp ${CMAKE_CURRENT_SOURCE_DIR}/src/utils/FileSystemUtil.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/utils/MathUtil.cpp ${CMAKE_CURRENT_SOURCE_DIR}/src/utils/MathUtil.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/utils/PlatformUtil.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/utils/StringUtil.cpp ${CMAKE_CURRENT_SOURCE_DIR}/src/utils/StringUtil.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/utils/TimeUtil.cpp ${CMAKE_CURRENT_SOURCE_DIR}/src/utils/TimeUtil.cpp
) )

View file

@ -11,11 +11,11 @@
#include "InputManager.h" #include "InputManager.h"
#include "Log.h" #include "Log.h"
#include "Platform.h"
#include "Scripting.h" #include "Scripting.h"
#include "Window.h" #include "Window.h"
#include "resources/ResourceManager.h" #include "resources/ResourceManager.h"
#include "utils/FileSystemUtil.h" #include "utils/FileSystemUtil.h"
#include "utils/PlatformUtil.h"
#include "utils/StringUtil.h" #include "utils/StringUtil.h"
#include <iostream> #include <iostream>

View file

@ -15,9 +15,9 @@
#include "Scripting.h" #include "Scripting.h"
#include "Log.h" #include "Log.h"
#include "Platform.h"
#include "Settings.h" #include "Settings.h"
#include "utils/FileSystemUtil.h" #include "utils/FileSystemUtil.h"
#include "utils/PlatformUtil.h"
namespace Scripting namespace Scripting
{ {

View file

@ -10,7 +10,6 @@
#include "Settings.h" #include "Settings.h"
#include "Log.h" #include "Log.h"
#include "Platform.h"
#include "Scripting.h" #include "Scripting.h"
#include "utils/FileSystemUtil.h" #include "utils/FileSystemUtil.h"
#include "utils/StringUtil.h" #include "utils/StringUtil.h"

View file

@ -11,7 +11,6 @@
#include "ThemeData.h" #include "ThemeData.h"
#include "Log.h" #include "Log.h"
#include "Platform.h"
#include "Settings.h" #include "Settings.h"
#include "components/ImageComponent.h" #include "components/ImageComponent.h"
#include "components/LottieComponent.h" #include "components/LottieComponent.h"

View file

@ -10,9 +10,9 @@
#include "ResourceManager.h" #include "ResourceManager.h"
#include "Log.h" #include "Log.h"
#include "Platform.h"
#include "Scripting.h" #include "Scripting.h"
#include "utils/FileSystemUtil.h" #include "utils/FileSystemUtil.h"
#include "utils/PlatformUtil.h"
#include "utils/StringUtil.h" #include "utils/StringUtil.h"
#include <fstream> #include <fstream>

View file

@ -6,13 +6,10 @@
// Platform utility functions. // Platform utility functions.
// //
#include "Platform.h" #include "utils/PlatformUtil.h"
#include "Log.h" #include "Log.h"
#include "MameNames.h"
#include "Settings.h"
#include "Window.h" #include "Window.h"
#include "utils/StringUtil.h"
#include <SDL2/SDL_events.h> #include <SDL2/SDL_events.h>

View file

@ -6,8 +6,8 @@
// Platform utility functions. // Platform utility functions.
// //
#ifndef ES_CORE_PLATFORM_H #ifndef ES_CORE_UTILS_PLATFORM_UTIL_H
#define ES_CORE_PLATFORM_H #define ES_CORE_UTILS_PLATFORM_UTIL_H
#include <string> #include <string>
@ -55,4 +55,4 @@ namespace Utils
} // namespace Utils } // namespace Utils
#endif // ES_CORE_PLATFORM_H #endif // ES_CORE_UTILS_PLATFORM_UTIL_H