From e8c4f2099c3b19c7f5b7395a2989419ae73f4ed0 Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Sat, 31 Aug 2002 09:55:58 +0000 Subject: updated svn-id: r4875 --- common/file.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'common/file.h') diff --git a/common/file.h b/common/file.h index ea57aa9859..a3cb1988cc 100644 --- a/common/file.h +++ b/common/file.h @@ -40,17 +40,18 @@ public: ~File(); bool open(const char *filename, int mode = 1, byte encbyte = 0); void close(); + bool isOpen(); bool readFailed(); void clearReadFailed(); bool eof(); uint32 pos(); void seek(uint32 offs, int whence); void read(void *ptr, uint32 size); - byte fileReadByte(); - uint16 fileReadWordLE(); - uint32 fileReadDwordLE(); - uint16 fileReadWordBE(); - uint32 fileReadDwordBE(); + byte readByte(); + uint16 readWordLE(); + uint32 readDwordLE(); + uint16 readWordBE(); + uint32 readDwordBE(); }; -- cgit v1.2.3