mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 01:59:33 +08:00
24 lines
406 B
C++
24 lines
406 B
C++
#pragma once
|
|
|
|
#include "AbstractResource.h"
|
|
|
|
#include <future>
|
|
#include <mutex>
|
|
|
|
#include <meojson/json.hpp>
|
|
|
|
namespace asst
|
|
{
|
|
class AbstractConfig : public AbstractResource
|
|
{
|
|
public:
|
|
virtual ~AbstractConfig() override = default;
|
|
virtual bool load(const std::filesystem::path& path) override;
|
|
|
|
protected:
|
|
virtual bool parse(const json::value& json) = 0;
|
|
|
|
std::filesystem::path m_path;
|
|
};
|
|
}
|