You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
389 B
26 lines
389 B
3 years ago
|
/*
|
||
|
* Copyright (C) 2022 Riyyi
|
||
|
*
|
||
|
* SPDX-License-Identifier: MIT
|
||
|
*/
|
||
|
|
||
|
#ifndef CONFIG_H
|
||
|
#define CONFIG_H
|
||
|
|
||
|
#include "util/singleton.h"
|
||
|
|
||
|
class Config : public Util::Singleton<Config> {
|
||
|
public:
|
||
|
Config(s) {}
|
||
|
virtual ~Config() {}
|
||
|
|
||
|
void setVerbose(bool verbose) { m_verbose = verbose; }
|
||
|
|
||
|
bool verbose() const { return m_verbose; }
|
||
|
|
||
|
private:
|
||
|
bool m_verbose { false };
|
||
|
};
|
||
|
|
||
|
#endif // CONFIG_H
|