OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
installdetect.h
Go to the documentation of this file.
1#pragma once
2
3#include <Tempest/Platform>
4#include <string>
5
6class InstallDetect final {
7 public:
9
10 std::u16string detectG2();
11#if defined(__OSX__) || defined(__IOS__)
12 static std::u16string applicationSupportDirectory();
13#endif
14
15 private:
16 std::u16string detectG2(std::u16string pfiles);
17
18#ifdef __WINDOWS__
19 static std::u16string programFiles(bool x86);
20 std::u16string pfiles, pfilesX86;
21#endif
22
23#if defined(__OSX__) || defined(__IOS__)
24 std::u16string appDir;
25#endif
26 };
std::u16string detectG2()