diff options
Diffstat (limited to 'src/Core/GameInfo/loadsupportedgames.h')
| -rw-r--r-- | src/Core/GameInfo/loadsupportedgames.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Core/GameInfo/loadsupportedgames.h b/src/Core/GameInfo/loadsupportedgames.h new file mode 100644 index 0000000..333dd0b --- /dev/null +++ b/src/Core/GameInfo/loadsupportedgames.h @@ -0,0 +1,16 @@ +#ifndef LOADSUPPORTEDGAMES_H +#define LOADSUPPORTEDGAMES_H + +#include <QFile> +#include <QJsonObject> +#include <QJsonArray> +#include <QJsonDocument> +#include "Database/Common/commonactions.h" +#include "gameinfostructure.h" + +// load supported games from json file + +const QString _supportedPath = "../data/SupportedGames.json"; +QHash<QString, GameInfo> loadSupportedGames (const QString &applicationPath); + +#endif // LOADSUPPORTEDGAMES_H |
