From 81f210544a1996f33905f6b8840d218239529cfb Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 30 Nov 2003 00:06:27 +0000 Subject: cleanup svn-id: r11432 --- common/file.cpp | 4 ++-- common/file.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'common') diff --git a/common/file.cpp b/common/file.cpp index dd12361498..7f81cdddf1 100644 --- a/common/file.cpp +++ b/common/file.cpp @@ -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; } diff --git a/common/file.h b/common/file.h index ff6e18f183..6bf281ff92 100644 --- a/common/file.h +++ b/common/file.h @@ -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(); -- cgit v1.2.3