X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpattern.h;h=5965efaed69886ea489679f93b0e0d13774eef4d;hb=6382743d26f8d5bb10a53cb907659bee6614b549;hp=4c79b4b83b732656d96d8866bb4f3cf9f45318f9;hpb=0368a9c1972ff5fd6cd8984901ff0bdbd86afc9f;p=builder.git diff --git a/source/pattern.h b/source/pattern.h index 4c79b4b..5965efa 100644 --- a/source/pattern.h +++ b/source/pattern.h @@ -1,6 +1,7 @@ #ifndef PATTERN_H_ #define PATTERN_H_ +#include #include /** @@ -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 apply_list(const std::list &, const std::string &); }; #endif