diff options
author | Max Horn | 2007-02-17 22:11:00 +0000 |
---|---|---|
committer | Max Horn | 2007-02-17 22:11:00 +0000 |
commit | e326f482c96f24690ce39bf971c371410a24a9ba (patch) | |
tree | ffc960ea67fa46f519813a8892b66486e66b3b2e /common | |
parent | be878d60dba399599506da2963dcbc2943543c48 (diff) | |
download | scummvm-rg350-e326f482c96f24690ce39bf971c371410a24a9ba.tar.gz scummvm-rg350-e326f482c96f24690ce39bf971c371410a24a9ba.tar.bz2 scummvm-rg350-e326f482c96f24690ce39bf971c371410a24a9ba.zip |
Get rid of Common::SaveFile
svn-id: r25666
Diffstat (limited to 'common')
-rw-r--r-- | common/savefile.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/common/savefile.h b/common/savefile.h index 1e48bafdfd..4dbb46c5eb 100644 --- a/common/savefile.h +++ b/common/savefile.h @@ -56,11 +56,20 @@ public: } }; + /** - * Convenience intermediate class, to be removed. + * The SaveFileManager is serving as a factor for InSaveFile + * and OutSaveFile objects. + * + * Engines and other code should use SaveFiles whenever they need to + * store data which they need to be able to retrieve later on -- + * i.e. typically save states, but also configuration files and similar + * things. + * + * While not declared as a singleton, + * it is effectively used as such, with OSystem::getSavefileManager + * returning the single SaveFileManager instances to be used. */ -class SaveFile : public InSaveFile, public OutSaveFile {}; - class SaveFileManager { public: |