aboutsummaryrefslogtreecommitdiff
path: root/c/win32.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-09-02 23:51:40 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-09-02 23:51:40 +0200
commit00447478cd1d0d64752114df49fee5ee8bdcedbe (patch)
treeca1168b19ab977c1857d3a3e341a3e80b33cc6d3 /c/win32.h
parentff9ba3f6e60fa30f52dd94e48214be5e1be1b28a (diff)
downloadEpisodeBrowser-00447478cd1d0d64752114df49fee5ee8bdcedbe.tar.gz
Add Act.
Diffstat (limited to 'c/win32.h')
-rw-r--r--c/win32.h3
1 files changed, 3 insertions, 0 deletions
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",