Mountain  1.0.0
Simple C++ 2D Game Framework
windows.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 
5 #include "Mountain/core.hpp"
6 
9 
10 #undef APIENTRY
11 // ReSharper disable once CppInconsistentNaming
12 #define XMLDocument XMLDocument_dont_care
13 #include <Windows.h>
14 
15 #include <ShlObj_core.h>
16 #undef XMLDocument
17 
18 #undef near
19 #undef far
20 #undef min
21 #undef max
22 #undef MessageBox
23 
24 namespace Mountain::Windows
25 {
26  MOUNTAIN_API bool_t CheckError();
27 
28  MOUNTAIN_API void SilenceError();
29 
30  MOUNTAIN_API std::string GetAppdataLocalPath();
31 
32  MOUNTAIN_API std::string GetAppdataRoamingPath();
33 }