Platform: Ensure classes match their header filename
Also drop some unused files. Renamed: - `platform/iphone/sem_iphone.h` -> `semaphore_iphone.h` (same for `osx`) - `platform/uwp/gl_context_egl.h` -> `context_egl_uwp.h` - in `platform/windows`: `context_gl_win.h`, `crash_handler_win.h`, `godot_win.cpp`, `joypad.h` and `key_mapping_win.h` all renamed to use `windows`. Some classes renamed accordingly too. - `EditorExportAndroid` and `EditorExportUWP` renamed to `EditorExportPlatformAndroid` and `EditorExportPlatformUWP` - `power_android` and `power_osx` renamed to `PowerAndroid` and `PowerOSX` - `OSUWP` renamed to `OS_UWP` Dropped: - `platform/windows/ctxgl_procaddr.h`
This commit is contained in:
@ -38,7 +38,7 @@
|
||||
#ifdef __APPLE__
|
||||
#include "platform/osx/crash_handler_osx.h"
|
||||
#include "platform/osx/power_osx.h"
|
||||
#include "platform/osx/sem_osx.h"
|
||||
#include "platform/osx/semaphore_osx.h"
|
||||
#else
|
||||
#include "platform/x11/crash_handler_x11.h"
|
||||
#include "platform/x11/power_x11.h"
|
||||
@ -69,7 +69,7 @@ class OS_Server : public OS_Unix {
|
||||
InputDefault *input;
|
||||
|
||||
#ifdef __APPLE__
|
||||
power_osx *power_manager;
|
||||
PowerOSX *power_manager;
|
||||
#else
|
||||
PowerX11 *power_manager;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user