aboutsummaryrefslogtreecommitdiff
path: root/common/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/file.h')
-rw-r--r--common/file.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/file.h b/common/file.h
index eafb7adba9..76bee32024 100644
--- a/common/file.h
+++ b/common/file.h
@@ -28,6 +28,8 @@
#include "common/str.h"
#include "common/stream.h"
+class FilesystemNode;
+
namespace Common {
class File : public SeekableReadStream, public WriteStream {
@@ -61,6 +63,7 @@ public:
void decRef();
virtual bool open(const String &filename, AccessMode mode = kFileReadMode);
+ virtual bool open(const FilesystemNode &node, AccessMode mode = kFileReadMode);
static bool exists(const String &filename);
virtual void close();