unsigned length;
bool collection;
std::list<Object> objects;
- bool loaded;
public:
File(const Pack &, const std::string &);
std::string get_full_name() const;
bool is_collection() const { return collection; }
- void set_loaded();
- bool is_loaded() const { return loaded; }
-
void collect_objects(ObjectMap &) const;
};
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 &);