opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
quit_event.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace osc
7{
8 // Represents a request for the application to shutdown (e.g. this may
9 // be fired by the operating system when the user clicks a window's X
10 // button or Alt+F4).
11 class QuitEvent final : public Event {
12 public:
13 explicit QuitEvent() : Event{EventType::Quit} {}
14 };
15}
Definition event.h:13
Definition quit_event.h:11
QuitEvent()
Definition quit_event.h:13
Definition custom_decoration_generator.h:5
EventType
Definition event_type.h:7
constexpr U to(T &&value)
Definition conversion.h:56