diff options
author | Lioncash <mathew1800@gmail.com> | 2018-12-01 05:44:08 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-12-01 05:52:56 +0100 |
commit | 0ccaaafca30c245330a62bd39519fb05720a0bf2 (patch) | |
tree | 7aa182eb3e669774155a0ee9dfdeb766a67e7b28 /src/core/file_sys | |
parent | service/fsp_srv: Implement CleanDirectoryRecursively (diff) | |
download | yuzu-0ccaaafca30c245330a62bd39519fb05720a0bf2.tar yuzu-0ccaaafca30c245330a62bd39519fb05720a0bf2.tar.gz yuzu-0ccaaafca30c245330a62bd39519fb05720a0bf2.tar.bz2 yuzu-0ccaaafca30c245330a62bd39519fb05720a0bf2.tar.lz yuzu-0ccaaafca30c245330a62bd39519fb05720a0bf2.tar.xz yuzu-0ccaaafca30c245330a62bd39519fb05720a0bf2.tar.zst yuzu-0ccaaafca30c245330a62bd39519fb05720a0bf2.zip |
Diffstat (limited to 'src/core/file_sys')
-rw-r--r-- | src/core/file_sys/vfs.cpp | 20 | ||||
-rw-r--r-- | src/core/file_sys/vfs.h | 5 |
2 files changed, 25 insertions, 0 deletions
diff --git a/src/core/file_sys/vfs.cpp b/src/core/file_sys/vfs.cpp index a4a3236f4..e33327ef0 100644 --- a/src/core/file_sys/vfs.cpp +++ b/src/core/file_sys/vfs.cpp @@ -453,10 +453,30 @@ std::shared_ptr<VfsFile> ReadOnlyVfsDirectory::CreateFile(std::string_view name) return nullptr; } +std::shared_ptr<VfsFile> ReadOnlyVfsDirectory::CreateFileAbsolute(std::string_view path) { + return nullptr; +} + +std::shared_ptr<VfsFile> ReadOnlyVfsDirectory::CreateFileRelative(std::string_view path) { + return nullptr; +} + +std::shared_ptr<VfsDirectory> ReadOnlyVfsDirectory::CreateDirectoryAbsolute(std::string_view path) { + return nullptr; +} + +std::shared_ptr<VfsDirectory> ReadOnlyVfsDirectory::CreateDirectoryRelative(std::string_view path) { + return nullptr; +} + bool ReadOnlyVfsDirectory::DeleteSubdirectory(std::string_view name) { return false; } +bool ReadOnlyVfsDirectory::DeleteSubdirectoryRecursive(std::string_view name) { + return false; +} + bool ReadOnlyVfsDirectory::CleanSubdirectoryRecursive(std::string_view name) { return false; } diff --git a/src/core/file_sys/vfs.h b/src/core/file_sys/vfs.h index 6e1db36f1..e5641b255 100644 --- a/src/core/file_sys/vfs.h +++ b/src/core/file_sys/vfs.h @@ -282,7 +282,12 @@ public: bool IsReadable() const override; std::shared_ptr<VfsDirectory> CreateSubdirectory(std::string_view name) override; std::shared_ptr<VfsFile> CreateFile(std::string_view name) override; + std::shared_ptr<VfsFile> CreateFileAbsolute(std::string_view path) override; + std::shared_ptr<VfsFile> CreateFileRelative(std::string_view path) override; + std::shared_ptr<VfsDirectory> CreateDirectoryAbsolute(std::string_view path) override; + std::shared_ptr<VfsDirectory> CreateDirectoryRelative(std::string_view path) override; bool DeleteSubdirectory(std::string_view name) override; + bool DeleteSubdirectoryRecursive(std::string_view name) override; bool CleanSubdirectoryRecursive(std::string_view name) override; bool DeleteFile(std::string_view name) override; bool Rename(std::string_view name) override; |