mirror of
https://github.com/SpeedBreakerProject/speedbreaker.git
synced 2026-10-27 02:01:54 +01:00
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
15 lines
540 B
C++
15 lines
540 B
C++
// SpeedBreaker runtime. GPL-3.0-or-later (see COPYING).
|
|
//
|
|
// macOS: the system file dialogs SDL shows (open panels, as sheets on the
|
|
// game's window), for automated runs of the installer screen.
|
|
#pragma once
|
|
|
|
namespace platform::file_dialog
|
|
{
|
|
// Cancels every file dialog on screen, as its Cancel button would: SDL's
|
|
// callback then gets the cancel, as from the player. Main thread only.
|
|
// Returns how many there were. (NFSMW_TEST_DIALOG_CANCEL in
|
|
// ui/installer_screen.cpp; macOS only.)
|
|
int CancelOpenPanels();
|
|
}
|