aboutsummaryrefslogtreecommitdiff
path: root/c/data.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/data.h')
-rw-r--r--c/data.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/c/data.h b/c/data.h
index 4e0d97a..23c9e5f 100644
--- a/c/data.h
+++ b/c/data.h
@@ -9,6 +9,10 @@
#include "wcharptr.h"
#include "win.h"
+/* Fetch data from the web. */
+void FetchData();
+void WaitFetchData(bool* bDone) noexcept;
+
/* 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
* in the future, then new structs ending with B should be added. */
@@ -162,9 +166,6 @@ struct FileView
size_t c;
};
-/* Fetch data from the web. */
-void FetchData(bool* bDone);
-
inline int FromWeb(const int iEp, ElvDataA& e, DlvDataA& d) noexcept
{
WcharPtr title, wiki, date, source, hint;