mirai/lib/mirai-core/Config.h
2024-08-29 11:18:09 +02:00

27 lines
513 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 "nlohmann/json.hpp"
#include <string>
#include <vector>
namespace mirai
{
class Config
{
public:
Config(const std::string &path);
std::vector<std::string> sources() const;
private:
std::string path_;
nlohmann::json configJson_;
};
} // namespace mirai