summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/directory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/file_sys/directory.h')
-rw-r--r--src/core/file_sys/directory.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/file_sys/directory.h b/src/core/file_sys/directory.h
index e10431337..1bb4101d6 100644
--- a/src/core/file_sys/directory.h
+++ b/src/core/file_sys/directory.h
@@ -42,6 +42,12 @@ public:
virtual ~Directory() { }
/**
+ * Open the directory
+ * @return true if the directory opened correctly
+ */
+ virtual bool Open() = 0;
+
+ /**
* List files contained in the directory
* @param count Number of entries to return at once in entries
* @param entries Buffer to read data into