This commit is contained in:
DavidXanatos 2023-05-21 15:25:51 +02:00
parent 5479003884
commit 4dc3c5e506
2 changed files with 6 additions and 1 deletions

View File

@ -3128,6 +3128,11 @@ void CSandMan::OpenUrl(const QUrl& url)
else ShellExecute(MainWndHandle, NULL, url.toString().toStdWString().c_str(), NULL, NULL, SW_SHOWNORMAL); 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 CSandMan::GetVersion()
{ {
QString Version = QString::number(VERSION_MJR) + "." + QString::number(VERSION_MIN) //.rightJustified(2, '0') QString Version = QString::number(VERSION_MJR) + "." + QString::number(VERSION_MIN) //.rightJustified(2, '0')

View File

@ -35,7 +35,7 @@ public:
static QString GetVersion(); static QString GetVersion();
bool IsWFPEnabled() const { return (g_FeatureFlags & CSbieAPI::eSbieFeatureWFP) != 0; } bool IsWFPEnabled() const;
SB_PROGRESS RecoverFiles(const QString& BoxName, const QList<QPair<QString, QString>>& FileList, QWidget* pParent, int Action = 0); SB_PROGRESS RecoverFiles(const QString& BoxName, const QList<QPair<QString, QString>>& FileList, QWidget* pParent, int Action = 0);
SB_PROGRESS CheckFiles(const QString& BoxName, const QStringList& Files); SB_PROGRESS CheckFiles(const QString& BoxName, const QStringList& Files);