aboutsummaryrefslogtreecommitdiff
path: root/gui/massadd.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/massadd.h')
-rw-r--r--gui/massadd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gui/massadd.h b/gui/massadd.h
index 106b285a64..006972e642 100644
--- a/gui/massadd.h
+++ b/gui/massadd.h
@@ -44,6 +44,12 @@ public:
void handleCommand(CommandSender *sender, uint32 cmd, uint32 data);
void handleTickle();
+ Common::String getFirtAddedTarget() const {
+ if (!_games.empty())
+ return _games.front().gameid();
+ return Common::String();
+ }
+
private:
Common::Stack<Common::FSNode> _scanStack;
GameList _games;