Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

bool File::open ( const String filename  )  [virtual]

Try to open the file with the given filename, by searching SearchMan.

Note:
Must not be called if this file already is open (i.e. if isOpen returns true).
Parameters:
filename the name of the file to open
Returns:
true if file was opened successfully, false otherwise

Definition at line 53 of file file.cpp.

Referenced by open(), and Audio::AudioStream::openStreamFile().

                                      {
      return open(filename, SearchMan);
}


Generated by  Doxygen 1.6.0   Back to index