Thin Windows shell access and bundle quiet validation

This commit is contained in:
2026-06-17 09:41:51 +02:00
parent 6d906f6288
commit 10a3c0498e
8 changed files with 104 additions and 50 deletions

View File

@@ -152,6 +152,26 @@ WacomTablet* bound_wacom_tablet() noexcept
return retained_runtime_state().tablet;
}
HWND main_window_handle() noexcept
{
return retained_state().hWnd;
}
const wchar_t* main_window_title() noexcept
{
return retained_state().window_title;
}
bool main_window_sandboxed() noexcept
{
return retained_state().sandboxed;
}
void set_main_window_sandboxed(bool sandboxed) noexcept
{
retained_state().sandboxed = sandboxed;
}
int run_main_application(int argc, char** argv)
{
auto& state = retained_state();