]> git.tdb.fi Git - builder.git/blobdiff - source/toolchain.h
Include architecture in Binary build signature
[builder.git] / source / toolchain.h
index 1060e09e559b8ffde1b8c8aa9f5f54f16b4cd567..572e42f58dcdc9e718a036c11dee5f433d61c8d6 100644 (file)
@@ -6,6 +6,9 @@
 
 class Tool;
 
+/**
+A container for tools.  Performs lookup based on tag or filename extension.
+*/
 class Toolchain
 {
 private:
@@ -17,8 +20,8 @@ public:
        ~Toolchain();
 
        void add_tool(Tool *);
-       const Tool &get_tool(const std::string &) const;
-       const Tool *get_tool_for_suffix(const std::string &) const;
+       Tool &get_tool(const std::string &) const;
+       Tool *get_tool_for_suffix(const std::string &, bool = false) const;
 };
 
 #endif