mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-11 11:45:21 +00:00
cleanup
svn-id: r11432
This commit is contained in:
parent
bbc03e144c
commit
81f210544a
@ -188,11 +188,11 @@ void File::close() {
|
|||||||
_handle = NULL;
|
_handle = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool File::isOpen() {
|
bool File::isOpen() const {
|
||||||
return _handle != NULL;
|
return _handle != NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool File::ioFailed() {
|
bool File::ioFailed() const {
|
||||||
return _ioFailed != 0;
|
return _ioFailed != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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 Common::String &directory) { return open(filename, directory.c_str()); }
|
||||||
bool open(const char *filename, const char *directory = NULL, int mode = kFileReadMode, byte encbyte = 0);
|
bool open(const char *filename, const char *directory = NULL, int mode = kFileReadMode, byte encbyte = 0);
|
||||||
void close();
|
void close();
|
||||||
bool isOpen();
|
bool isOpen() const;
|
||||||
bool ioFailed();
|
bool ioFailed() const;
|
||||||
void clearIOFailed();
|
void clearIOFailed();
|
||||||
bool eof();
|
bool eof();
|
||||||
uint32 pos();
|
uint32 pos();
|
||||||
|
Loading…
Reference in New Issue
Block a user