Own Web fallback services and trim Win32 session state

This commit is contained in:
2026-06-17 10:17:55 +02:00
parent 2cb7046a56
commit af2901e78a
7 changed files with 54 additions and 8 deletions

View File

@@ -1,5 +1,7 @@
#pragma once
#include <memory>
#include "platform_api/platform_policy.h"
#include "platform_api/platform_services.h"
@@ -22,6 +24,8 @@ void request_legacy_glfw_app_close();
#endif
[[nodiscard]] pp::platform::WebPlatformServices& active_legacy_web_platform_services();
[[nodiscard]] std::unique_ptr<pp::platform::WebPlatformServices> create_legacy_web_platform_services();
void set_legacy_web_platform_services(pp::platform::WebPlatformServices* services);
[[nodiscard]] bool handles_legacy_web_platform_family(pp::platform::PlatformFamily family) noexcept;
void publish_legacy_web_exported_image(std::string_view path);
[[nodiscard]] bool try_publish_legacy_web_exported_image(