X-Git-Url: http://git.tdb.fi/?p=libs%2Fdatafile.git;a=blobdiff_plain;f=source%2Fpacksource.h;h=7d616614cff490690d73699f4a5b4f6a76a545f1;hp=440b45118bd66fc2af1c1d0c7b2f0a195a237fd9;hb=010737b64c8d4e7fcf0fe953ed15769eeac4178f;hpb=461967af6834fb0fccdd39a8d76192d411223148 diff --git a/source/packsource.h b/source/packsource.h index 440b451..7d61661 100644 --- a/source/packsource.h +++ b/source/packsource.h @@ -130,6 +130,10 @@ public: PackSource. */ void add_pack_io(IO::Seekable &, const std::string & = std::string()); + /** Adds a pack from an I/O object with a regex to filter logical files. + Multiple filters for the same I/O object can be added with repeated calls. */ + void add_pack_io(IO::Seekable &, const std::string &, const std::string &); + private: void add_pack(IO::Seekable *, const std::string &, const std::string &);