start with downloading dc: parsing command arguments. started to implement the acrual download

This commit is contained in:
2024-11-27 15:54:42 +01:00
parent 061c57ef51
commit 9b6f5db8fe
5 changed files with 338 additions and 128 deletions

View File

@@ -1,4 +1,4 @@
#ifndef COMMAND_LINE_PARSER_H_INCLUDED
#ifndef COMMAND_LINE_PARSER_H_INCLUDED
#define COMMAND_LINE_PARSER_H_INCLUDED
#include <QCoreApplication>
@@ -21,6 +21,8 @@ class CommandLineParser : public QCommandLineParser {
QString m_iniFileName;
QString m_alwaysDownloadConfig;
QString m_alwaysDownloadDC;
QString m_readDCVersion;
QString m_dcDir;
QCommandLineOption m_repositoryUrlOption;
QCommandLineOption m_iniFileDirectoryOption;
@@ -37,6 +39,8 @@ class CommandLineParser : public QCommandLineParser {
QCommandLineOption m_extendedVersionOption;
QCommandLineOption m_yoctoVersionOption;
QCommandLineOption m_yoctoInstallStatusOption;
QCommandLineOption m_dcDirectoryOption;
QCommandLineOption m_readDCVersionOption;
QCommandLineParser m_parser;
@@ -65,5 +69,7 @@ public:
bool extendedVersion();
bool alwaysDownloadConfig();
bool alwaysDownloadDC();
bool readDCVersion();
QString dcDir();
};
#endif // COMMAND_LINE_PARSER_H_INCLUDED