diff options
Diffstat (limited to 'src/libs/installer/utils.h')
-rw-r--r-- | src/libs/installer/utils.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/libs/installer/utils.h b/src/libs/installer/utils.h index a22acd879..2bf997835 100644 --- a/src/libs/installer/utils.h +++ b/src/libs/installer/utils.h @@ -1,6 +1,6 @@ /************************************************************************** ** -** Copyright (C) 2021 The Qt Company Ltd. +** Copyright (C) 2022 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Installer Framework. @@ -57,9 +57,14 @@ namespace QInstaller { QString INSTALLER_EXPORT replaceWindowsEnvironmentVariables(const QString &str); QStringList INSTALLER_EXPORT parseCommandLineArgs(int argc, char **argv); + bool INSTALLER_EXPORT canCreateSymbolicLinks(); + #ifdef Q_OS_WIN QString windowsErrorString(int errorCode); QString createCommandline(const QString &program, const QStringList &arguments); + bool setPrivilege(const wchar_t *privilege, bool enable); + bool checkPrivilege(const wchar_t *privilege); + bool developerModeEnabled(); #endif QStringList INSTALLER_EXPORT localeCandidates(const QString &locale); |