1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

ToolDefManager serialization

This commit is contained in:
Perttu Ahola 2011-11-15 00:05:26 +02:00
parent 8d2d28f1dc
commit 0754f2a7af
2 changed files with 39 additions and 1 deletions

View file

@ -85,6 +85,9 @@ public:
const std::string &toolname) const =0;
virtual bool registerTool(std::string toolname, const ToolDefinition &def)=0;
virtual void serialize(std::ostream &os)=0;
virtual void deSerialize(std::istream &is)=0;
};
IWritableToolDefManager* createToolDefManager();