summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/file.h
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2014-09-27 21:16:51 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2014-10-06 19:58:37 +0200
commit23c2fbfc7a900ae3c9f8791a87c5ad672f5778fe (patch)
treef5535cf4b4bde9054f0e1098eb1fd817b5ff1599 /src/core/file_sys/file.h
parentFileSys: Add forgotten docstrings. (diff)
downloadyuzu-23c2fbfc7a900ae3c9f8791a87c5ad672f5778fe.tar
yuzu-23c2fbfc7a900ae3c9f8791a87c5ad672f5778fe.tar.gz
yuzu-23c2fbfc7a900ae3c9f8791a87c5ad672f5778fe.tar.bz2
yuzu-23c2fbfc7a900ae3c9f8791a87c5ad672f5778fe.tar.lz
yuzu-23c2fbfc7a900ae3c9f8791a87c5ad672f5778fe.tar.xz
yuzu-23c2fbfc7a900ae3c9f8791a87c5ad672f5778fe.tar.zst
yuzu-23c2fbfc7a900ae3c9f8791a87c5ad672f5778fe.zip
Diffstat (limited to '')
-rw-r--r--src/core/file_sys/file.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/file_sys/file.h b/src/core/file_sys/file.h
index 3749e4fcf..443e65319 100644
--- a/src/core/file_sys/file.h
+++ b/src/core/file_sys/file.h
@@ -44,6 +44,13 @@ public:
virtual size_t GetSize() const = 0;
/**
+ * Set the size of the file in bytes
+ * @param size New size of the file
+ * @return true if successful
+ */
+ virtual bool SetSize(const u64 size) const = 0;
+
+ /**
* Close the file
* @return true if the file closed correctly
*/