15 lines
449 B
C++
15 lines
449 B
C++
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <QString>
|
||
|
|
|
||
|
|
namespace UpdatePathPolicy {
|
||
|
|
|
||
|
|
QString normalizeRelativePath(const QString& path);
|
||
|
|
bool isSafeRelativePath(const QString& path);
|
||
|
|
bool isUpdaterRuntimeProtectedPath(const QString& path, const QString& runtimeRelativePath);
|
||
|
|
bool isIFWInstallerManagedPath(const QString& path);
|
||
|
|
bool isFullUpdateProtectedPath(const QString& path, const QString& runtimeRelativePath);
|
||
|
|
bool isExecutableOrLibrary(const QString& path);
|
||
|
|
|
||
|
|
}
|