Btk
platform.hpp
1
#if !defined(_BTK_PLATFORM_HPP_)
2
#define _BTK_PLATFORM_HPP_
3
#ifdef _WIN32
4
#include "win32.hpp"
5
#define BTK_WIN32
6
#elif defined(__linux) && !defined(__ANDROID__)
7
#include "x11.hpp"
8
#define BTK_X11
9
#else
10
#error "Unsupport platform"
11
#endif
12
13
namespace
Btk
{
14
namespace
Platform{
15
#ifdef BTK_WIN32
16
using
Win32::Init;
17
using
Win32::Quit;
18
#elif defined(BTK_X11)
19
using
X11::Init;
20
using
X11::Quit;
21
#endif
22
}
23
}
24
25
#endif // _BTK_PLATFORM_HPP_
Btk
This header include many useful containers.
Definition:
async.hpp:7
include
Btk
platform
platform.hpp
Generated by
1.8.13