svn-id: r11432
This commit is contained in:
Max Horn 2003-11-30 00:06:27 +00:00
parent bbc03e144c
commit 81f210544a
2 changed files with 4 additions and 4 deletions

View File

@ -188,11 +188,11 @@ void File::close() {
_handle = NULL;
}
bool File::isOpen() {
bool File::isOpen() const {
return _handle != NULL;
}
bool File::ioFailed() {
bool File::ioFailed() const {
return _ioFailed != 0;
}

View File

@ -51,8 +51,8 @@ public:
bool open(const char *filename, const Common::String &directory) { return open(filename, directory.c_str()); }
bool open(const char *filename, const char *directory = NULL, int mode = kFileReadMode, byte encbyte = 0);
void close();
bool isOpen();
bool ioFailed();
bool isOpen() const;
bool ioFailed() const;
void clearIOFailed();
bool eof();
uint32 pos();