summaryrefslogtreecommitdiff
path: root/src/tooldef.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tooldef.h')
-rw-r--r--src/tooldef.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tooldef.h b/src/tooldef.h
index aa4cb6931..e28935e43 100644
--- a/src/tooldef.h
+++ b/src/tooldef.h
@@ -85,6 +85,11 @@ public:
virtual bool registerTool(std::string toolname, const ToolDefinition &def)=0;
virtual void clear()=0;
+ // Set an alias so that entries named <name> will load as <convert_to>.
+ // Alias is not set if <name> has already been defined.
+ // Alias will be removed if <name> is defined at a later point of time.
+ virtual void setAlias(const std::string &name,
+ const std::string &convert_to)=0;
virtual void serialize(std::ostream &os)=0;
virtual void deSerialize(std::istream &is)=0;