The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces | Functions
save_index.hpp File Reference
#include "config.hpp"
#include "serialization/compression.hpp"
Include dependency graph for save_index.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  savegame::save_info
 Filename and modification date for a file list. More...
 
struct  savegame::save_info_less_time
 A structure for comparing to save_info objects based on their modified time. More...
 
class  savegame::create_save_info
 
class  savegame::save_index_class
 

Namespaces

 savegame
 

Functions

std::vector< save_info > savegame::get_saves_list (const std::string *dir, const std::string *filter)
 Get a list of available saves. More...
 
void savegame::read_save_file (const std::string &name, config &cfg, std::string *error_log)
 Read the complete config information out of a savefile. More...
 
void savegame::remove_old_auto_saves (const int autosavemax, const int infinite_auto_saves)
 Remove autosaves that are no longer needed (according to the autosave policy in the preferences). More...
 
void savegame::delete_game (const std::string &name)
 Delete a savegame. More...
 
void replace_underbar2space (std::string &name)
 
void replace_space2underbar (std::string &name)
 

Function Documentation

void replace_space2underbar ( std::string name)
void replace_underbar2space ( std::string name)

Definition at line 40 of file save_index.cpp.

References utils::replace().

Referenced by savegame::create_save_info::operator()().