1 #ifndef SAVEGAMELIST_H
2 #define SAVEGAMELIST_H
3 
4 #include "playbacklist.h"
5 
6 struct Savegame;
7 
8 template <class PB, class T>
9 class GlobalObjectHolder;
10 
11 class SavegameList : public PlaybackList<Savegame>
12 {
13   public:
14 
15     typedef Savegame
16         PlaybackType;
17 
18    virtual  void LoadPlaybacks( const std::vector<std::string>& filenames );
19 
20   protected:
21     SavegameList();
22 
23     template <class PB, class I >
24     friend class LSL::Util::GlobalObjectHolder;
25 private:
26 	bool GetSavegameInfos ( const wxString& SavegamePath, Savegame& ret ) const;
27 	wxString GetScriptFromSavegame ( const wxString& SavegamePath ) const;
28 };
29 
30 #endif // SAVEGAMELIST_H
31 
32 /**
33     This file is part of SpringLobby,
34     Copyright (C) 2007-2011
35 
36     SpringLobby is free software: you can redistribute it and/or modify
37     it under the terms of the GNU General Public License version 2 as published by
38     the Free Software Foundation.
39 
40     SpringLobby is distributed in the hope that it will be useful,
41     but WITHOUT ANY WARRANTY; without even the implied warranty of
42     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
43     GNU General Public License for more details.
44 
45     You should have received a copy of the GNU General Public License
46     along with SpringLobby.  If not, see <http://www.gnu.org/licenses/>.
47 **/
48