]> git.saurik.com Git - apt.git/blobdiff - ftparchive/writer.h
apt-pkg/cdrom.h: move new member to the end to minimize ABI risk
[apt.git] / ftparchive / writer.h
index 49d430c474d0e632f2c833f909752539dd10556e..3796f79f6de18b9f8ed8da3d9ef88ed984c7b29d 100644 (file)
@@ -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());