summaryrefslogtreecommitdiff
path: root/src/createinstancedialogpages.h
diff options
context:
space:
mode:
authorChris Bessent <lost.dragonist@gmail.com>2021-05-01 17:10:27 -0700
committerChris Bessent <lost.dragonist@gmail.com>2021-05-01 17:10:27 -0700
commit2c54d128b4367a19df5b18735e3dfaa4645eef03 (patch)
tree0ec7e0889bba8ac6fdd35f788cbdafc8342996a6 /src/createinstancedialogpages.h
parentf71288db16dde69abbfe09ae3f5de9a103576e3d (diff)
Add some more Microsoft Store errors
Diffstat (limited to 'src/createinstancedialogpages.h')
-rw-r--r--src/createinstancedialogpages.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/createinstancedialogpages.h b/src/createinstancedialogpages.h
index 08953a74..7237bfb2 100644
--- a/src/createinstancedialogpages.h
+++ b/src/createinstancedialogpages.h
@@ -354,6 +354,15 @@ private:
MOBase::IPluginGame* confirmOtherGame(
const QString& path,
MOBase::IPluginGame* selectedGame, MOBase::IPluginGame* guessedGame);
+
+ // detects if the given path likely contains a Microsoft Store game
+ //
+ bool detectMicrosoftStore(const QString& path);
+
+ // tells the user that the path probably contains a Microsoft Store game that
+ // is not supported, returns true if the user decides to accept anyway.
+ //
+ bool confirmMicrosoftStore(const QString& path, MOBase::IPluginGame* game);
};