aboutsummaryrefslogtreecommitdiff
path: root/c/data.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-09-02 20:16:04 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-09-02 20:16:18 +0200
commitbc4cef92d8efbf97a9215122abc2d7247c287f12 (patch)
treea5ca307281c4f143b5f172428c9fd2b629d6b426 /c/data.h
parent5c1c2ce2bdbf9735ad8a4d162609a8c22a4f0954 (diff)
downloadEpisodeBrowser-bc4cef92d8efbf97a9215122abc2d7247c287f12.tar.gz
Improve Window object.
Diffstat (limited to 'c/data.h')
-rw-r--r--c/data.h5
1 files changed, 3 insertions, 2 deletions
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 <libxml/xmlerror.h>
#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