From 00447478cd1d0d64752114df49fee5ee8bdcedbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 2 Sep 2022 23:51:40 +0200 Subject: Add Act. --- c/win32.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'c/win32.h') diff --git a/c/win32.h b/c/win32.h index c4e57b7..a88e97c 100644 --- a/c/win32.h +++ b/c/win32.h @@ -15,6 +15,9 @@ void WithNextWindow(void (*proc)(HWND)); /* Display message box centered in main window. */ int EBMessageBox(std::wstring_view text, std::wstring_view data, UINT uType); +/* Specify current action (used by ShowException). */ +void Act(const wchar_t* action); + /* Show message box for current exception. */ void ShowException( const wchar_t* fmt = L"An error occurred: %s", -- cgit v1.2.3