Logo Search packages:      
Sourcecode: scummvm version File versions

Common::SeekableReadStream * OSystem::openConfigFileForReading (  )  [virtual]

Open the default config file for reading, by returning a suitable ReadStream instance. It is the callers responsiblity to delete the stream after use.

Definition at line 119 of file system.cpp.

References Common::FSNode::openForReading().

      Common::FSNode file(DEFAULT_CONFIG_FILE);
      return file.openForReading();

Generated by  Doxygen 1.6.0   Back to index