aboutsummaryrefslogtreecommitdiff
path: root/common/savefile.h
AgeCommit message (Collapse)Author
2011-05-25BUILD: Rename UNIX #define to POSIXMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-03-24COMMON: Add SaveFileManager::copySavefile() and update ↵Littleboy
SaveFileManager::renameSavefile() to use it
2010-06-15Fix spelling, cleanupMax Horn
svn-id: r49843
2010-03-18COMMON: Move typedef StringList from str.h to new header str-array.hMax Horn
This removes the dependency on array.h from str.h. Also, begun migration from the confusing type name "StringList" to the more appropriate StringArray. svn-id: r48282
2009-05-29Changed SaveFileManager methods to take Common::String params (instead of ↵Max Horn
char pointers) svn-id: r41000
2008-11-06Merged SFMError into Common::Error, added some new error codes; revised some ↵Max Horn
error handling in DefaultSaveManager svn-id: r34915
2008-11-06cleanupMax Horn
svn-id: r34910
2008-08-04Turned InSaveFile & OutSaveFile into simple typedefsMax Horn
svn-id: r33606
2008-08-04Moved the OutSaveFile::finalize method to WriteStream; implemented ↵Max Horn
DumpFile::flush() svn-id: r33604
2008-02-22Some corrections to the SaveFileManager Doxygen commentsMax Horn
svn-id: r30913
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2007-12-30Clarify SaveFileManager::listSavefiles usageMax Horn
svn-id: r30077
2007-12-28Patch #1857121: Refactoring of the getSavePath methodEugene Sandulenko
svn-id: r30032
2007-12-23SaveFileManager::setError is an internal method; also, pass string to it ↵Max Horn
by-ref not by-value svn-id: r29967
2007-11-06Patch #1825132: SAVEFILEMAN: renameSavefile implementationMax Horn
svn-id: r29433
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-09-18Patch #1768757: Merge fsnode-gsoc into trunk (MAJOR change, will break ↵Max Horn
compilation on some ports) svn-id: r28944
2007-07-29Add a removeSavefile() to the default savefile manager based on the new ↵David Corrales
Common::File::remove(). svn-id: r28282
2007-07-18Added error codes to the SaveFileManager via the SFMError enum. Also, solved ↵David Corrales
TODO's in the default-saves implementation. svn-id: r28140
2007-07-12Changed SaveFileManager::listSavegames() function to be engine agnostic. It ↵David Corrales
now returns a list will the full paths of existing files that match a given regex. Additionally, modified the 5 engines which use the default manager (Agos, Queen, Saga, Scumm and Touche) to parse the filename list and mark the available saves bool array correctly. svn-id: r28046
2007-07-08Merged the FSNode branch with trunk r27681:27969David Corrales
svn-id: r27970
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-03-17Added class NonCopyable, and made various things derive from itMax Horn
svn-id: r26163
2007-02-17Get rid of Common::SaveFileMax Horn
svn-id: r25666
2007-02-17Added finalize() method to Common::OutSaveFile (which by default just ↵Max Horn
flushes the stream), changed engines to call that before deleting OutSaveFile instances (instead of just flushing) svn-id: r25660
2006-06-24Typo, and stress that getSavePath() is not to be used for storing savegames ↵Max Horn
via Common::File svn-id: r23286
2006-06-24Moved savefile code to new 'saves' backend module (work in progress)Max Horn
svn-id: r23282
2006-04-26Changed InSaveFile (part of the save file system) to inherit from ↵Max Horn
SeekableReadStream, meaning that savegames opened for reading now are seekable (DC, PS2, Palm ports will have to be updated accordingly) svn-id: r22180
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20510
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-06-24Whitespace changes.Torbjörn Andersson
svn-id: r18449
2005-06-24When including files from common/, explicitly use the common/ prefixMax Horn
svn-id: r18444
2005-05-10Moved (In/Out)SaveFile(Manager) and Timer to namespace CommonMax Horn
svn-id: r18038
2005-05-08New method InSaveFile::skip()Max Horn
svn-id: r17979
2005-04-22* Added new virtual base class 'Stream', ReadStream andMax Horn
WriteStream are now subclasses of it. * Added new methods eos(), ioFailed(), clearIOFailed() to all streams. This allows better error checking. * SaveFile classes take advantage of these new standard stream APIS * Removed File::gets() * Added SeekableReadStream::readLine() (replaces File::gets) * Added WriteStream::writeString, for convenience svn-id: r17752
2005-04-13Get rid of errno; add some (optional) error checking facilities to SaveFile ↵Max Horn
classes (they are ugly, and to simple, but better than nothing) svn-id: r17589
2005-04-10split SaveFileManager::openSavefile and class SaveFile into two, each, one ↵Max Horn
for loading and one for saving svn-id: r17517
2005-01-09Ensure these headers match the rest of ScummVMMax Horn
svn-id: r16505
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-11-27Moved Engine::getSavePath() to class SaveFileManager; removed the ↵Max Horn
'directory' parameter from SaveFileManager::openSavefile and listSavefiles (they always use getSavePath() now, which is what we did anyway) svn-id: r15901
2004-06-25Cleaned up SaveFileManager stuff a little bitMax Horn
svn-id: r14056
2004-04-17Introduce ReadStream and WriteStream (as explained in my File class design ↵Max Horn
mails on scummvm-devel) svn-id: r13595
2003-11-30oops forgot to commit this one, it seemsMax Horn
svn-id: r11434
2003-08-10Harmonized SaveFile API with File API a bit.Marcus Comstedt
svn-id: r9626
2003-08-10Doesn't look like these are used anymore.Marcus Comstedt
svn-id: r9623
2003-08-07Fix newline warningChris Apers
svn-id: r9587
2003-08-07No more needed ... Arisme, your turnChris Apers
svn-id: r9586