diff options
author | bunnei <bunneidev@gmail.com> | 2019-01-19 18:56:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-19 18:56:16 +0100 |
commit | d0e4e43e3ccbc512abc6593eff4d92e5aa08becb (patch) | |
tree | 1d99af2ca9d59c3c8c123be29495aabb4e6e5866 | |
parent | Merge pull request #2020 from otaviopace/remove-spaces (diff) | |
parent | file_sys/directory: Remove unused DirectoryBackend class (diff) | |
download | yuzu-d0e4e43e3ccbc512abc6593eff4d92e5aa08becb.tar yuzu-d0e4e43e3ccbc512abc6593eff4d92e5aa08becb.tar.gz yuzu-d0e4e43e3ccbc512abc6593eff4d92e5aa08becb.tar.bz2 yuzu-d0e4e43e3ccbc512abc6593eff4d92e5aa08becb.tar.lz yuzu-d0e4e43e3ccbc512abc6593eff4d92e5aa08becb.tar.xz yuzu-d0e4e43e3ccbc512abc6593eff4d92e5aa08becb.tar.zst yuzu-d0e4e43e3ccbc512abc6593eff4d92e5aa08becb.zip |
-rw-r--r-- | src/core/file_sys/directory.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/core/file_sys/directory.h b/src/core/file_sys/directory.h index 6690aa575..7b5c509fb 100644 --- a/src/core/file_sys/directory.h +++ b/src/core/file_sys/directory.h @@ -39,27 +39,4 @@ static_assert(sizeof(Entry) == 0x310, "Directory Entry struct isn't exactly 0x31 static_assert(offsetof(Entry, type) == 0x304, "Wrong offset for type in Entry."); static_assert(offsetof(Entry, file_size) == 0x308, "Wrong offset for file_size in Entry."); -class DirectoryBackend : NonCopyable { -public: - DirectoryBackend() {} - virtual ~DirectoryBackend() {} - - /** - * List files contained in the directory - * @param count Number of entries to return at once in entries - * @param entries Buffer to read data into - * @return Number of entries listed - */ - virtual u64 Read(const u64 count, Entry* entries) = 0; - - /// Returns the number of entries still left to read. - virtual u64 GetEntryCount() const = 0; - - /** - * Close the directory - * @return true if the directory closed correctly - */ - virtual bool Close() const = 0; -}; - } // namespace FileSys |