diff options
author | Max Horn | 2006-04-14 01:48:51 +0000 |
---|---|---|
committer | Max Horn | 2006-04-14 01:48:51 +0000 |
commit | 1470dadb1de3250dfceeaa246604ca0f26889bbf (patch) | |
tree | 3bd75cabff52222dba1fc1f408e4f21917749aed /common/file.h | |
parent | 507281610935fb2adcbae0c5f0d6239defdd8ffa (diff) | |
download | scummvm-rg350-1470dadb1de3250dfceeaa246604ca0f26889bbf.tar.gz scummvm-rg350-1470dadb1de3250dfceeaa246604ca0f26889bbf.tar.bz2 scummvm-rg350-1470dadb1de3250dfceeaa246604ca0f26889bbf.zip |
Changed File::open to take a Common::String as file name parameter
svn-id: r21867
Diffstat (limited to 'common/file.h')
-rw-r--r-- | common/file.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/file.h b/common/file.h index 567292c440..27d062a41d 100644 --- a/common/file.h +++ b/common/file.h @@ -60,8 +60,8 @@ public: void incRef(); void decRef(); - virtual bool open(const char *filename, AccessMode mode = kFileReadMode, const char *directory = NULL); - static bool exists(const char *filename, const char *directory = NULL); + virtual bool open(const String &filename, AccessMode mode = kFileReadMode, const char *directory = NULL); + static bool exists(const String &filename, const char *directory = NULL); virtual void close(); bool isOpen() const; |