Split Win32 main window session state

This commit is contained in:
2026-06-17 11:17:02 +02:00
parent 81a998436d
commit 949dbf778a
11 changed files with 92 additions and 53 deletions

View File

@@ -0,0 +1,13 @@
#pragma once
#include <windows.h>
namespace pp::platform::windows {
[[nodiscard]] HWND& retained_main_window_handle_ref() noexcept;
[[nodiscard]] wchar_t* retained_main_window_title_buffer() noexcept;
[[nodiscard]] const wchar_t* retained_main_window_title() noexcept;
[[nodiscard]] bool retained_main_window_sandboxed() noexcept;
void set_retained_main_window_sandboxed(bool sandboxed) noexcept;
}