aboutsummaryrefslogtreecommitdiff
path: root/c/win.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/win.h')
-rw-r--r--c/win.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/c/win.h b/c/win.h
index 834aaec..8329f68 100644
--- a/c/win.h
+++ b/c/win.h
@@ -6,6 +6,9 @@
#include <windows.h>
#include <commctrl.h>
+/* Convert narrow to wide string. */
+std::wstring WideFromNarrow(const std::string_view src, const int cp = CP_UTF8);
+
/* Run given procedure at creation of next window. */
void WithNextWindow(void (*proc)(HWND));