aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/filesystem.h
diff options
context:
space:
mode:
authorZach Hilman <DarkLordZach@users.noreply.github.com>2018-07-17 15:42:15 -0400
committerbunnei <bunneidev@gmail.com>2018-07-17 12:42:15 -0700
commit69bfe075b5c3f6b17ce269950d1f8c9aab18e2de (patch)
tree8fca65bb5b3a0a8fb2b0772020d5b8d47749c3b3 /src/core/file_sys/filesystem.h
parent88a3140c9b20b2f079f915842b4f30bdc800a53a (diff)
General Filesystem and Save Data Fixes (#670)
Diffstat (limited to 'src/core/file_sys/filesystem.h')
-rw-r--r--src/core/file_sys/filesystem.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/core/file_sys/filesystem.h b/src/core/file_sys/filesystem.h
index 295a3133e..1a32a373b 100644
--- a/src/core/file_sys/filesystem.h
+++ b/src/core/file_sys/filesystem.h
@@ -167,35 +167,4 @@ public:
virtual ResultVal<EntryType> GetEntryType(const std::string& path) const = 0;
};
-class FileSystemFactory : NonCopyable {
-public:
- virtual ~FileSystemFactory() {}
-
- /**
- * Get a descriptive name for the archive (e.g. "RomFS", "SaveData", etc.)
- */
- virtual std::string GetName() const = 0;
-
- /**
- * Tries to open the archive of this type with the specified path
- * @param path Path to the archive
- * @return An ArchiveBackend corresponding operating specified archive path.
- */
- virtual ResultVal<std::unique_ptr<FileSystemBackend>> Open(const Path& path) = 0;
-
- /**
- * Deletes the archive contents and then re-creates the base folder
- * @param path Path to the archive
- * @return ResultCode of the operation, 0 on success
- */
- virtual ResultCode Format(const Path& path) = 0;
-
- /**
- * Retrieves the format info about the archive with the specified path
- * @param path Path to the archive
- * @return Format information about the archive or error code
- */
- virtual ResultVal<ArchiveFormatInfo> GetFormatInfo(const Path& path) const = 0;
-};
-
} // namespace FileSys