Logo Search packages:      
Sourcecode: scummvm version File versions

Common::WriteStream * OSystem::openConfigFileForWriting (  )  [virtual]

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

May return 0 to indicate that writing to config file is not possible.

Definition at line 124 of file system.cpp.

References Common::FSNode::openForWriting().

#ifdef __DC__
      return 0;
      Common::FSNode file(DEFAULT_CONFIG_FILE);
      return file.openForWriting();

Generated by  Doxygen 1.6.0   Back to index