Windows: implement GUI to start the windows task scheduler for batch indexing

This commit is contained in:
Jean-Francois Dockes
2019-10-08 12:08:10 +02:00
parent c444a66bc8
commit c849f96cc3
9 changed files with 259 additions and 15 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ static bool path_isdriveabs(const string& s)
#include <Shlwapi.h>
#pragma comment(lib, "shlwapi.lib")
static string path_thisexecpath()
string path_thisexecpath()
{
wchar_t text[MAX_PATH];
GetModuleFileNameW(NULL, text, MAX_PATH);
+4
View File
@@ -36,6 +36,10 @@ extern bool path_empty(const std::string& path);
/// e.g. /usr/share/recoll. Depends on OS and config
extern const std::string& path_pkgdatadir();
#ifdef _WIN32
extern std::string path_thisexecpath();
#endif
/// Transcode to utf-8 if possible or url encoding, for display.
extern bool printableUrl(const std::string& fcharset,
const std::string& in, std::string& out);