mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-15 09:17:51 +00:00
FS: Allow multiple instances of the same archive type to be open at once
This commit is contained in:
parent
4468625080
commit
3f1a3952d7
19 changed files with 199 additions and 159 deletions
|
@ -17,12 +17,14 @@
|
|||
namespace FileSys {
|
||||
|
||||
/// File system interface to the SaveDataCheck archive
|
||||
class Archive_SaveDataCheck final : public IVFCArchive {
|
||||
class ArchiveFactory_SaveDataCheck final : public ArchiveFactory {
|
||||
public:
|
||||
Archive_SaveDataCheck(const std::string& mount_point);
|
||||
ArchiveFactory_SaveDataCheck(const std::string& mount_point);
|
||||
|
||||
std::string GetName() const override { return "SaveDataCheck"; }
|
||||
ResultCode Open(const Path& path) override;
|
||||
|
||||
ResultVal<std::unique_ptr<ArchiveBackend>> Open(const Path& path) override;
|
||||
ResultCode Format(const Path& path) override;
|
||||
|
||||
private:
|
||||
std::string mount_point;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue