From bc4cef92d8efbf97a9215122abc2d7247c287f12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 2 Sep 2022 20:16:04 +0200 Subject: Improve Window object. --- c/data.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'c/data.h') diff --git a/c/data.h b/c/data.h index 0f00ecb..919e1b4 100644 --- a/c/data.h +++ b/c/data.h @@ -6,7 +6,7 @@ #include #include "util.h" -#include "win.h" +#include "win32.h" struct XmlError : public std::exception { @@ -26,7 +26,8 @@ void FetchData(unsigned char* sig); void FetchScreenwriters(unsigned char* sig); /* Wait for thread. */ -void WaitFor(void (*f)(unsigned char*)); +struct Window; +void WaitFor(Window& window, void (*f)(unsigned char*)); /* The structs ending with A are written as-is to disk. As such, they * should be regarded as immutable. If the format needs to be changed -- cgit v1.2.3