mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Renamed Platform to utils/PlatformUtil
This commit is contained in:
parent
2d149c5161
commit
b4e08ba92b
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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
|
Loading…
Reference in a new issue