aboutsummaryrefslogtreecommitdiff
path: root/gui/massadd.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/massadd.h')
-rw-r--r--gui/massadd.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gui/massadd.h b/gui/massadd.h
index 29d24ca9a5..e0eff75c64 100644
--- a/gui/massadd.h
+++ b/gui/massadd.h
@@ -27,7 +27,10 @@
#include "gui/dialog.h"
#include "common/fs.h"
+#include "common/hashmap.h"
#include "common/stack.h"
+#include "common/str.h"
+#include "common/hash-str.h"
namespace GUI {
@@ -45,6 +48,13 @@ private:
Common::Stack<FilesystemNode> _scanStack;
GameList _games;
+ /**
+ * Map each path occuring in the config file to the target(s) using that path.
+ * Used to detect whether a potential new target is already present in the
+ * config manager.
+ */
+ Common::HashMap<Common::String, Common::StringList> _pathToTargets;
+
int _dirsScanned;
Widget *_okButton;