]> git.tdb.fi Git - builder.git/blobdiff - source/pattern.h
Update cross prefix for windows architecture
[builder.git] / source / pattern.h
index 4c79b4b83b732656d96d8866bb4f3cf9f45318f9..5965efaed69886ea489679f93b0e0d13774eef4d 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef PATTERN_H_
 #define PATTERN_H_
 
+#include <list>
 #include <string>
 
 /**
@@ -21,6 +22,9 @@ public:
 
        /** Applies the pattern to a body string. */
        std::string apply(const std::string &) const;
+
+       /** Applies a list of patterns to the same body. */
+       static std::list<std::string> apply_list(const std::list<Pattern> &, const std::string &);
 };
 
 #endif