#pragma once #include 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); }