From 4dc3c5e50633bdddca2bb417c19123dbb503bbc9 Mon Sep 17 00:00:00 2001 From: DavidXanatos <3890945+DavidXanatos@users.noreply.github.com> Date: Sun, 21 May 2023 15:25:51 +0200 Subject: [PATCH] 1.9.4 --- SandboxiePlus/SandMan/SandMan.cpp | 5 +++++ SandboxiePlus/SandMan/SandMan.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/SandboxiePlus/SandMan/SandMan.cpp b/SandboxiePlus/SandMan/SandMan.cpp index 19382983..acd1054c 100644 --- a/SandboxiePlus/SandMan/SandMan.cpp +++ b/SandboxiePlus/SandMan/SandMan.cpp @@ -3128,6 +3128,11 @@ void CSandMan::OpenUrl(const QUrl& url) else ShellExecute(MainWndHandle, NULL, url.toString().toStdWString().c_str(), NULL, NULL, SW_SHOWNORMAL); } +bool CSandMan::IsWFPEnabled() const +{ + return (g_FeatureFlags & CSbieAPI::eSbieFeatureWFP) != 0; +} + QString CSandMan::GetVersion() { QString Version = QString::number(VERSION_MJR) + "." + QString::number(VERSION_MIN) //.rightJustified(2, '0') diff --git a/SandboxiePlus/SandMan/SandMan.h b/SandboxiePlus/SandMan/SandMan.h index a69d1e6f..4f8290c9 100644 --- a/SandboxiePlus/SandMan/SandMan.h +++ b/SandboxiePlus/SandMan/SandMan.h @@ -35,7 +35,7 @@ public: static QString GetVersion(); - bool IsWFPEnabled() const { return (g_FeatureFlags & CSbieAPI::eSbieFeatureWFP) != 0; } + bool IsWFPEnabled() const; SB_PROGRESS RecoverFiles(const QString& BoxName, const QList>& FileList, QWidget* pParent, int Action = 0); SB_PROGRESS CheckFiles(const QString& BoxName, const QStringList& Files);