Split Linux platform target and move runtime/platform state
This commit is contained in:
@@ -32,6 +32,7 @@ struct RetainedLegacyGlfwWindowState final {
|
||||
|
||||
[[nodiscard]] RetainedLegacyGlfwWindowState& active_legacy_glfw_window_state();
|
||||
[[nodiscard]] RetainedLegacyGlfwWindowHooks& active_legacy_glfw_window_hooks();
|
||||
void set_legacy_glfw_window(GLFWwindow* window);
|
||||
#endif
|
||||
|
||||
#if defined(__IOS__) || defined(__OSX__)
|
||||
@@ -46,6 +47,15 @@ struct RetainedLegacyAppleState final {
|
||||
};
|
||||
|
||||
[[nodiscard]] RetainedLegacyAppleState& active_legacy_apple_state();
|
||||
void set_legacy_apple_state(
|
||||
#ifdef __IOS__
|
||||
GameViewController* ios_view,
|
||||
AppDelegate* ios_app
|
||||
#elif defined(__OSX__)
|
||||
View* osx_view,
|
||||
AppOSX* osx_app
|
||||
#endif
|
||||
);
|
||||
#endif
|
||||
|
||||
[[nodiscard]] const pp::platform::PlatformStoragePaths& active_legacy_storage_paths();
|
||||
|
||||
Reference in New Issue
Block a user