aboutsummaryrefslogtreecommitdiff
path: root/gui/launcher.h
diff options
context:
space:
mode:
authorChristopher Page2008-07-30 21:48:45 +0000
committerChristopher Page2008-07-30 21:48:45 +0000
commit1fe2700dab621a62a2ce67864c829bd4af95f779 (patch)
treeaf51aeac4f990fdcc9c15241c5b8e828ba694b5f /gui/launcher.h
parenta1e3d416fe3e77b5ceff7bea43b8bb0453290e5a (diff)
downloadscummvm-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.h7
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);
};