]> git.tdb.fi Git - builder.git/blobdiff - source/toolchain.h
Properly process the command line arguments
[builder.git] / source / toolchain.h
index 1060e09e559b8ffde1b8c8aa9f5f54f16b4cd567..2c0e3d2a84977933113c0447b00a5a5daae50c60 100644 (file)
@@ -6,6 +6,9 @@
 
 class Tool;
 
+/**
+A container for tools.  Performs lookup based on tag or filename extension.
+*/
 class Toolchain
 {
 private:
@@ -18,7 +21,7 @@ public:
 
        void add_tool(Tool *);
        const Tool &get_tool(const std::string &) const;
-       const Tool *get_tool_for_suffix(const std::string &) const;
+       const Tool *get_tool_for_suffix(const std::string &, bool = false) const;
 };
 
 #endif