mirror of
https://github.com/QuasarApp/CopyrightFixer.git
synced 2025-04-29 11:14:42 +00:00
ref #49 Added class configParser.
This commit is contained in:
parent
223110e62a
commit
a40da12555
21
src/CopyrighFixer/CopyrighFixer/configparser.cpp
Normal file
21
src/CopyrighFixer/CopyrighFixer/configparser.cpp
Normal file
@ -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 {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
34
src/CopyrighFixer/CopyrighFixer/configparser.h
Normal file
34
src/CopyrighFixer/CopyrighFixer/configparser.h
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user