+ /** Adds a pack from an existing seekable I/O object. The same object is
+ used for all accesses to the pack, so it must not be deleted before the
+ 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 &);
+
+public:
+ /// Returns information about the files in the pack.
+ std::list<FileInfo> list_files() const;
+