From a40da125555225d8866c108258c8396aa0f863a0 Mon Sep 17 00:00:00 2001 From: IgorekLoschinin <igor.loschinin2014@yandex.ru> Date: Sat, 24 Apr 2021 22:26:02 +0300 Subject: [PATCH] ref #49 Added class configParser. --- .../CopyrighFixer/configparser.cpp | 21 ++++++++++++ .../CopyrighFixer/configparser.h | 34 +++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 src/CopyrighFixer/CopyrighFixer/configparser.cpp create mode 100644 src/CopyrighFixer/CopyrighFixer/configparser.h diff --git a/src/CopyrighFixer/CopyrighFixer/configparser.cpp b/src/CopyrighFixer/CopyrighFixer/configparser.cpp new file mode 100644 index 0000000..c699aa2 --- /dev/null +++ b/src/CopyrighFixer/CopyrighFixer/configparser.cpp @@ -0,0 +1,21 @@ +//# +//# Copyright (C) 2021-2021 QuasarApp. +//# Distributed under the lgplv3 software license, see the accompanying +//# Everyone is permitted to copy and distribute verbatim copies +//# of this license document, but changing it is not allowed. +//# + +#include "configparser.h" + +namespace CopyrighFixer { +ConfigParser::ConfigParser() { + +} + +const Config &ConfigParser::parseOptions() const { + +} + + +} + diff --git a/src/CopyrighFixer/CopyrighFixer/configparser.h b/src/CopyrighFixer/CopyrighFixer/configparser.h new file mode 100644 index 0000000..ba46c4d --- /dev/null +++ b/src/CopyrighFixer/CopyrighFixer/configparser.h @@ -0,0 +1,34 @@ +//# +//# Copyright (C) 2021-2021 QuasarApp. +//# Distributed under the lgplv3 software license, see the accompanying +//# Everyone is permitted to copy and distribute verbatim copies +//# of this license document, but changing it is not allowed. +//# + +#ifndef CONFIGPARSER_H +#define CONFIGPARSER_H + +#include "CopyrighFixer_global.h" +#include "config.h" + +namespace CopyrighFixer { + +/** + * @brief The ConfigParser class + */ +class ConfigParser { +public: + ConfigParser(); + + /** + * @brief parseOptions This a method that will parse all input options. + * @return The config object. + */ + const Config &parseOptions() const; + +}; + +} + + +#endif // CONFIGPARSER_H