savegame_config.hpp

Go to the documentation of this file.
00001 /*
00002    Copyright (C) 2009 - 2012 by Eugen Jiresch
00003    Part of the Battle for Wesnoth Project http://www.wesnoth.org/
00004 
00005    This program is free software; you can redistribute it and/or modify
00006    it under the terms of the GNU General Public License as published by
00007    the Free Software Foundation; either version 2 of the License, or
00008    (at your option) any later version.
00009    This program is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY.
00011 
00012    See the COPYING file for more details.
00013 */
00014 
00015 #ifndef SAVEGAME_CONFIG_HPP_INCLUDED
00016 #define SAVEGAME_CONFIG_HPP_INCLUDED
00017 
00018 /* interface for building a config from savegame related objects */
00019 //FIXME: move to gamestate.hpp once dependencies between team and game_state are sorted
00020 class config;
00021 
00022 namespace savegame {
00023 
00024 class savegame_config
00025 {
00026 public:
00027     virtual ~savegame_config() {};
00028     virtual config to_config() const = 0;
00029 };
00030 
00031 void write_music_play_list(config& snapshot);
00032 
00033 void write_events(config& cfg);
00034 
00035 }
00036 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:03:08 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs