summaryrefslogtreecommitdiff
path: root/lib/nes/app/action.hh
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2025-02-06 16:28:39 +0100
committerHannes Schulze <haschu0103@outlook.de>2025-02-06 16:28:39 +0100
commit30b4364c772114303d9045677186a53855ea5343 (patch)
tree3ac3443cdea7274e688bc633fa12bf1e089d6624 /lib/nes/app/action.hh
parent64308c9e520dbd8e72b675d0ba064ecdaf9bd494 (diff)
implement in-game popups
Diffstat (limited to 'lib/nes/app/action.hh')
-rw-r--r--lib/nes/app/action.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/nes/app/action.hh b/lib/nes/app/action.hh
index f63c17d..cca7a35 100644
--- a/lib/nes/app/action.hh
+++ b/lib/nes/app/action.hh
@@ -17,6 +17,8 @@ namespace nes::app
go_to_settings,
go_to_help,
close_popup,
+ cancel_quit,
+ confirm_quit,
launch_game,
show_error,
};
@@ -35,6 +37,8 @@ namespace nes::app
static auto go_to_settings() -> action { return action{ type::go_to_settings }; }
static auto go_to_help() -> action { return action{ type::go_to_help }; }
static auto close_popup() -> action { return action{ type::close_popup }; }
+ static auto cancel_quit() -> action { return action{ type::cancel_quit }; }
+ static auto confirm_quit() -> action { return action{ type::confirm_quit }; }
static auto launch_game(std::string_view const file_name) -> action
{