summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/file.h
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2014-09-27 21:21:48 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2014-10-06 19:58:42 +0200
commit0be5c03176236fe602d49c32717a6f3af0a55465 (patch)
tree61573d4ed66ac5e7f46968ef871b3acf9f0c5b99 /src/core/file_sys/file.h
parentFileSys/Kernel: Implement SetSize service call for File objects. (diff)
downloadyuzu-0be5c03176236fe602d49c32717a6f3af0a55465.tar
yuzu-0be5c03176236fe602d49c32717a6f3af0a55465.tar.gz
yuzu-0be5c03176236fe602d49c32717a6f3af0a55465.tar.bz2
yuzu-0be5c03176236fe602d49c32717a6f3af0a55465.tar.lz
yuzu-0be5c03176236fe602d49c32717a6f3af0a55465.tar.xz
yuzu-0be5c03176236fe602d49c32717a6f3af0a55465.tar.zst
yuzu-0be5c03176236fe602d49c32717a6f3af0a55465.zip
Diffstat (limited to '')
-rw-r--r--src/core/file_sys/file.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/file_sys/file.h b/src/core/file_sys/file.h
index 443e65319..4013b6c3e 100644
--- a/src/core/file_sys/file.h
+++ b/src/core/file_sys/file.h
@@ -19,6 +19,12 @@ public:
virtual ~File() { }
/**
+ * Open the file
+ * @return true if the file opened correctly
+ */
+ virtual bool Open() = 0;
+
+ /**
* Read data from the file
* @param offset Offset in bytes to start reading data from
* @param length Length in bytes of data to read from file