NRE_WindowCloseEvent.hpp
Go to the documentation of this file.
1 
10  #pragma once
11 
12  #include "../../../Graphics/NRE_GraphicsSystem.hpp"
13 
18  namespace NRE {
23  namespace Event {
24 
30  private: //Fields
31  Graphics::Window& window;
33  public: // Methods
34  //## Constructor ##//
38  WindowCloseEvent() = delete;
43  WindowCloseEvent(Graphics::Id id);
44 
45  //## Copy-Constructor ##//
50  WindowCloseEvent(WindowCloseEvent const& e) = default;
51 
52  //## Move-Constructor ##//
57  WindowCloseEvent(WindowCloseEvent && e) = default;
58 
59  //## Deconstructor ##//
63  ~WindowCloseEvent() = default;
64 
65  //## Getter ##//
70 
71  //## Assignment Operator ##//
77  WindowCloseEvent& operator =(WindowCloseEvent const& e) = default;
84  };
85  }
86  }
87 
88  #include "NRE_WindowCloseEvent.tpp"
Manage a graphics window.
Definition: NRE_Window.hpp:34
Manage a window close event.
Definition: NRE_WindowCloseEvent.hpp:29
Event's API.
Graphics::Window & getWindow()
The NearlyRealEngine's global namespace.
WindowCloseEvent & operator=(WindowCloseEvent const &e)=default