Lock wallet on exit and event level
This commit is contained in:
@@ -63,7 +63,7 @@ public:
|
||||
private:
|
||||
static void ExecuteSetter(CefRefPtr<CefV8Context> context, CefRefPtr<CefV8Value> obj, const SString& method, const SString& value);
|
||||
static void ExecuteSetter(CefRefPtr<CefV8Context> context, CefRefPtr<CefV8Value> obj, const SString& method, CefRefPtr<CefV8Value> value);
|
||||
void ShutdownServices();
|
||||
void ShutdownServices(const bool& closing = false);
|
||||
void SiaApiRefreshCallback(CefRefPtr<CefV8Context> context, const Api::CSiaCurl& siaCurl, Api::CSiaDriveConfig* siaDriveConfig);
|
||||
|
||||
private:
|
||||
|
@@ -12,6 +12,8 @@ enum class EventLevel
|
||||
Debug
|
||||
};
|
||||
|
||||
EventLevel SIADRIVE_EXPORTABLE EventLevelFromString(const SString& eventLevel);
|
||||
|
||||
class SIADRIVE_EXPORTABLE CEvent
|
||||
{
|
||||
public:
|
||||
|
@@ -2,7 +2,7 @@
|
||||
#define _SIACOMMON_H
|
||||
#include <cstdint>
|
||||
|
||||
#define SIDRIVE_VERSION_STRING "0.0.1"
|
||||
#define SIADRIVE_VERSION_STRING "@SIADRIVE_VERSION@"
|
||||
#define COMPAT_SIAD_VERSION "1.2.0"
|
||||
|
||||
#ifdef _WIN32
|
@@ -26,6 +26,7 @@ public:
|
||||
JProperty(bool, LockWalletOnExit, public, public, _configDocument)
|
||||
JProperty(bool, AutoStartOnLogon, public, public, _configDocument)
|
||||
JProperty(bool, LaunchBundledSiad, public, public, _configDocument)
|
||||
JProperty(std::string, EventLevel, public, public, _configDocument)
|
||||
|
||||
private:
|
||||
json _configDocument;
|
||||
|
Reference in New Issue
Block a user