opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
liboscar
platform
events
quit_event.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
liboscar/platform/events/event.h
>
4
#include <
liboscar/platform/events/event_type.h
>
5
6
namespace
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
}
osc::Event
Definition
event.h:13
osc::QuitEvent
Definition
quit_event.h:11
osc::QuitEvent::QuitEvent
QuitEvent()
Definition
quit_event.h:13
event.h
event_type.h
osc
Definition
custom_decoration_generator.h:5
osc::EventType
EventType
Definition
event_type.h:7
osc::EventType::Quit
@ Quit
osc::to
constexpr U to(T &&value)
Definition
conversion.h:56
Generated by
1.9.8