]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/packsource.h
Add version of add_pack_io with filter
[libs/datafile.git] / source / packsource.h
index 440b45118bd66fc2af1c1d0c7b2f0a195a237fd9..7d616614cff490690d73699f4a5b4f6a76a545f1 100644 (file)
@@ -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 &);