Nazara Engine  0.4
A fast, complete, cross-platform API designed for game development
Platform.hpp
1 // Copyright (C) 2017 Jérôme Leclercq
2 // This file is part of the "Nazara Engine - Platform module"
3 // For conditions of distribution and use, see copyright notice in Config.hpp
4 
5 #pragma once
6 
7 #ifndef NAZARA_PLATFORM_HPP
8 #define NAZARA_PLATFORM_HPP
9 
10 #include <Nazara/Prerequesites.hpp>
11 #include <Nazara/Platform/Config.hpp>
12 
13 namespace Nz
14 {
15  class NAZARA_PLATFORM_API Platform
16  {
17  public:
18  Platform() = delete;
19  ~Platform() = delete;
20 
21  static bool Initialize();
22 
23  static bool IsInitialized();
24 
25  static void Uninitialize();
26 
27  private:
28  static unsigned int s_moduleReferenceCounter;
29  };
30 }
31 
32 #endif // NAZARA_PLATFORM_HPP
TODO: Inherit SoundEmitter from Node.
Definition: Algorithm.hpp:12
Platform class that represents the module initializer of Platform.
Definition: Platform.hpp:15