diff options
author | archshift <gh@archshift.com> | 2015-10-19 00:52:37 +0200 |
---|---|---|
committer | archshift <gh@archshift.com> | 2015-10-28 07:33:59 +0100 |
commit | 5dfd2dba70b15cead6358b40b980d5be1b32039e (patch) | |
tree | bda933874f35988982444c9e4e934fe64a6e0a9c /src/core/file_sys/archive_backend.h | |
parent | Merge pull request #1194 from linkmauve/no-newline (diff) | |
download | yuzu-5dfd2dba70b15cead6358b40b980d5be1b32039e.tar yuzu-5dfd2dba70b15cead6358b40b980d5be1b32039e.tar.gz yuzu-5dfd2dba70b15cead6358b40b980d5be1b32039e.tar.bz2 yuzu-5dfd2dba70b15cead6358b40b980d5be1b32039e.tar.lz yuzu-5dfd2dba70b15cead6358b40b980d5be1b32039e.tar.xz yuzu-5dfd2dba70b15cead6358b40b980d5be1b32039e.tar.zst yuzu-5dfd2dba70b15cead6358b40b980d5be1b32039e.zip |
Diffstat (limited to 'src/core/file_sys/archive_backend.h')
-rw-r--r-- | src/core/file_sys/archive_backend.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/file_sys/archive_backend.h b/src/core/file_sys/archive_backend.h index c6a1be79d..e7a59a1ed 100644 --- a/src/core/file_sys/archive_backend.h +++ b/src/core/file_sys/archive_backend.h @@ -131,6 +131,12 @@ public: * @return Opened directory, or nullptr */ virtual std::unique_ptr<DirectoryBackend> OpenDirectory(const Path& path) const = 0; + + /** + * Get the free space + * @return The number of free bytes in the archive + */ + virtual u64 GetFreeBytes() const = 0; }; class ArchiveFactory : NonCopyable { |