aboutsummaryrefslogtreecommitdiff
path: root/src/tooldef.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tooldef.h')
-rw-r--r--src/tooldef.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tooldef.h b/src/tooldef.h
index 2c758d902..41ee1154c 100644
--- a/src/tooldef.h
+++ b/src/tooldef.h
@@ -72,6 +72,8 @@ public:
virtual std::string getImagename(const std::string &toolname) const =0;
virtual ToolDiggingProperties getDiggingProperties(
const std::string &toolname) const =0;
+
+ virtual void serialize(std::ostream &os)=0;
};
class IWritableToolDefManager : public IToolDefManager
@@ -85,6 +87,7 @@ public:
const std::string &toolname) const =0;
virtual bool registerTool(std::string toolname, const ToolDefinition &def)=0;
+ virtual void clear()=0;
virtual void serialize(std::ostream &os)=0;
virtual void deSerialize(std::istream &is)=0;