Faro Engine 0.0.0.b519570 (main)
Loading...
Searching...
No Matches
PlatformWindows.hpp
Go to the documentation of this file.
1#pragma once
2#if FARO_OS_WINDOWS
3#include <Platform.hpp>
4
5namespace Faro
6{
7 class PlatformWindows : public Platform
8 {
9 public:
10 void Init() override;
11 void Destroy() override;
12
13 String GetName() override { return "Windows"; }
14
15 Window* CreateWindow() override;
16
17 Array<Monitor> GetMonitors() override;
18
19 FileStream* OpenFile(Path file, EFileMode mode) override;
20
21 Array<Path> FindSubPaths(Path rootPath, bool recursive, String filter) override;
22 };
23
24 REGISTER_PLATFORM(PlatformWindows)
25}
26#endif
#define REGISTER_PLATFORM(TYPE)
Definition Platform.hpp:37
Definition Array.hpp:8