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.

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

Definition at line 43 of file file.cpp.

Referenced by Tinsel::LoadFile(), Draci::Font::loadFont(), Cine::loadTextData(), open(), Tinsel::OpenCDGraphFile(), Tinsel::OpenMidiFiles(), Audio::SeekableAudioStream::openStreamFile(), Tinsel::PlayMidiSequence(), Tinsel::PrimeSceneHopper(), Tinsel::RegisterGlobals(), and Tinsel::SetupHandleTable().

      return open(filename, SearchMan);

Generated by  Doxygen 1.6.0   Back to index