implement save and load blueprints
This commit is contained in:
14
src/lib/config/BlueprintSerializer.h
Normal file
14
src/lib/config/BlueprintSerializer.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "Blueprint.h"
|
||||
|
||||
namespace BlueprintSerializer
|
||||
{
|
||||
|
||||
std::string serialize(const std::vector<Blueprint>& blueprints);
|
||||
std::vector<Blueprint> deserialize(const std::string& tomlContent);
|
||||
|
||||
} // namespace BlueprintSerializer
|
||||
Reference in New Issue
Block a user