summaryrefslogtreecommitdiff
path: root/ftparchive/writer.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-01-20 16:01:40 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-01-20 16:01:40 +0100
commit3cb3fe76e90283a5b3fe7105e4854d4bac13bfeb (patch)
tree773b6bbedbc9d122ebc21a84f9db680b93813f4f /ftparchive/writer.h
parentfe0f7911b650918e1d511b3453664a07f6d966d0 (diff)
* ftparchive/writer.cc:
- add config option to search for more patterns in release command
Diffstat (limited to 'ftparchive/writer.h')
-rw-r--r--ftparchive/writer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ftparchive/writer.h b/ftparchive/writer.h
index 49d430c47..3796f79f6 100644
--- a/ftparchive/writer.h
+++ b/ftparchive/writer.h
@@ -69,6 +69,8 @@ class FTWScanner
bool LoadFileList(string const &BaseDir,string const &File);
void ClearPatterns() { Patterns.clear(); };
void AddPattern(string const &Pattern) { Patterns.push_back(Pattern); };
+ void AddPattern(char const *Pattern) { Patterns.push_back(Pattern); };
+ void AddPatterns(std::vector<std::string> const &patterns) { Patterns.insert(Patterns.end(), patterns.begin(), patterns.end()); };
bool SetExts(string const &Vals);
FTWScanner(string const &Arch = string());