diff options
Diffstat (limited to 'libs/basic_games_native/src/steamutils.h')
| -rw-r--r-- | libs/basic_games_native/src/steamutils.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libs/basic_games_native/src/steamutils.h b/libs/basic_games_native/src/steamutils.h new file mode 100644 index 0000000..5ef11b3 --- /dev/null +++ b/libs/basic_games_native/src/steamutils.h @@ -0,0 +1,14 @@ +#ifndef STEAMUTILS_H +#define STEAMUTILS_H + +#include <QHash> +#include <QString> + +// Scans all Steam library folders and returns a map of +// Steam App ID -> installation path +QHash<int, QString> findSteamGames(); + +// Find the installation path for a specific Steam app ID +QString findSteamGamePath(int appId); + +#endif // STEAMUTILS_H |
