Zen
0.3.0
Loading...
Searching...
No Matches
ZEN_Window.cpp
1
#include <zen/core/ZEN_Window.h>
2
#include <zen/platform/linux/ZEN_LinuxWindow.h>
3
4
namespace
Zen {
5
std::unique_ptr<Window> Window::create(
const
Zen::WindowProperties &properties) {
6
#ifdef __ZEN_PLATFORM_LINUX
7
ZEN_LOG_INFO(
"Creating a Linux Window..."
);
8
return
std::make_unique<LinuxWindow>(properties);
9
#endif
// __ZEN_PLATFORM_LINUX
10
#ifdef __ZEN_PLATFORM_WINDOWS
11
return
nullptr
;
// NOT SUPPORTED
12
#endif
// __ZEN_PLATFORM_WINDOWS
13
// Unsupported OS
14
return
nullptr
;
15
};
16
17
};
// namespace Zen
engine
zen
core
ZEN_Window.cpp
Generated by
1.14.0