summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/file_sys/file.h')
-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