mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-04 18:53:19 +00:00
30 lines
520 B
C
30 lines
520 B
C
|
/*
|
||
|
* Mirai. Copyright (C) 2024 Vyn
|
||
|
* This file is licensed under version 3 of the GNU General Public License (GPL-3.0-only)
|
||
|
* The license can be found in the LICENSE file or at https://www.gnu.org/licenses/gpl-3.0.txt
|
||
|
*/
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include <memory>
|
||
|
#include <string>
|
||
|
#include <vector>
|
||
|
|
||
|
namespace mirai
|
||
|
{
|
||
|
|
||
|
class ConfigImpl;
|
||
|
|
||
|
class Config
|
||
|
{
|
||
|
public:
|
||
|
Config(const std::string &path);
|
||
|
~Config();
|
||
|
|
||
|
std::vector<std::string> sources() const;
|
||
|
|
||
|
private:
|
||
|
std::unique_ptr<ConfigImpl> impl_;
|
||
|
};
|
||
|
} // namespace mirai
|