13 lines
257 B
C++
13 lines
257 B
C++
#pragma once
|
|
#include "external/nlohmann/json.hpp"
|
|
|
|
namespace FRG {
|
|
|
|
struct ISaveable {
|
|
virtual void save(nlohmann::json& out) const = 0;
|
|
virtual void load(const nlohmann::json& in) = 0;
|
|
virtual ~ISaveable() = default;
|
|
};
|
|
|
|
} // namespace FRG
|