diff options
author | Christopher Page | 2008-07-30 21:48:45 +0000 |
---|---|---|
committer | Christopher Page | 2008-07-30 21:48:45 +0000 |
commit | 1fe2700dab621a62a2ce67864c829bd4af95f779 (patch) | |
tree | af51aeac4f990fdcc9c15241c5b8e828ba694b5f /gui/launcher.h | |
parent | a1e3d416fe3e77b5ceff7bea43b8bb0453290e5a (diff) | |
download | scummvm-rg350-1fe2700dab621a62a2ce67864c829bd4af95f779.tar.gz scummvm-rg350-1fe2700dab621a62a2ce67864c829bd4af95f779.tar.bz2 scummvm-rg350-1fe2700dab621a62a2ce67864c829bd4af95f779.zip |
Added support for Savestates to be loaded from the launcher
svn-id: r33461
Diffstat (limited to 'gui/launcher.h')
-rw-r--r-- | gui/launcher.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gui/launcher.h b/gui/launcher.h index a9d09bf109..cff6f2a8ba 100644 --- a/gui/launcher.h +++ b/gui/launcher.h @@ -34,11 +34,10 @@ namespace GUI { class BrowserDialog; class ListWidget; class GraphicsWidget; - +class SaveLoadChooser; Common::String addGameToConf(const GameDescriptor &result); - class LauncherDialog : public Dialog { typedef Common::String String; typedef Common::StringList StringList; @@ -62,6 +61,7 @@ protected: #endif StringList _domains; BrowserDialog *_browser; + SaveLoadChooser *_loadDialog; virtual void reflowLayout(); @@ -73,6 +73,9 @@ protected: virtual void addGame(); void removeGame(int item); void editGame(int item); + void loadGame(int item); + + StringList generateSavegameList(int item); void selectGame(const String &name); }; |