diff options
Diffstat (limited to 'src/libs/installer/commandlineparser_p.h')
-rw-r--r-- | src/libs/installer/commandlineparser_p.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/libs/installer/commandlineparser_p.h b/src/libs/installer/commandlineparser_p.h index 1c050a389..3c0016b96 100644 --- a/src/libs/installer/commandlineparser_p.h +++ b/src/libs/installer/commandlineparser_p.h @@ -1,6 +1,6 @@ /************************************************************************** ** -** Copyright (C) 2020 The Qt Company Ltd. +** Copyright (C) 2021 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Installer Framework. @@ -29,20 +29,23 @@ #ifndef COMMANDLINEPARSER_P_H #define COMMANDLINEPARSER_P_H +#include "commandlineparser.h" + #include <QCommandLineParser> +class CommandLineParser; + class CommandLineParserPrivate { + Q_DISABLE_COPY(CommandLineParserPrivate) + public: - CommandLineParserPrivate(); + explicit CommandLineParserPrivate(CommandLineParser *parser) : q(parser) {}; - QList<QCommandLineOption> &extensionsOptions() - { - return m_extensionOptions; - } + void addExtensionsOptions() const; private: - QList<QCommandLineOption> m_extensionOptions; + CommandLineParser *const q; }; #endif // COMMANDLINEPARSER_P_H |