NAP
nap
core
src
nap
event.h
1
/* This Source Code Form is subject to the terms of the Mozilla Public
2
* License, v. 2.0. If a copy of the MPL was not distributed with this
3
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4
5
#pragma once
6
7
#include "rtti/rtti.h"
8
#include "utility/dllexport.h"
9
10
namespace
nap
11
{
17
class
NAPAPI
Event
18
{
19
RTTI_ENABLE()
20
public
:
21
// Default construction / destruction
22
virtual
~
Event
() =
default
;
23
Event
() =
default
;
24
25
// Disable copy
26
Event
(
const
Event
&) =
delete
;
27
Event
& operator=(
const
Event
&) =
delete
;
28
};
29
33
using
EventPtr
= std::unique_ptr<nap::Event>;
34
}
nap::EventPtr
std::unique_ptr< nap::Event > EventPtr
Definition:
event.h:33
nap::Event
Definition:
event.h:17
nap
Definition:
templateapp.h:17
Generated by doxygen