aboutsummaryrefslogtreecommitdiff
path: root/Core/GameInfo/loadsupportedgames.h
blob: 333dd0b596846884769f53dd0b43663753376262 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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