Windows: implement GUI to start the windows task scheduler for batch indexing
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user