NAP
Overview
Manual
Classes
Namespaces
•
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Pages
nap
system_modules
napsdlinput
src
sdlappeventhandler.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
// Local includes
8
#include "sdleventconverter.h"
9
10
// External includes
11
#include <appeventhandler.h>
12
13
namespace
nap
14
{
20
class
NAPAPI
SDLAppEventHandler
:
public
AppEventHandler
21
{
22
RTTI_ENABLE(
AppEventHandler
)
23
public
:
24
SDLAppEventHandler
(
App
& app);
25
29
virtual
void
start()
override
;
30
35
virtual
void
process()
override
;
36
40
virtual
void
shutdown()
override
;
41
49
bool
setTouchGeneratesMouseEvents(
bool
value);
50
51
private
:
52
std::unique_ptr<SDLEventConverter> mEventConverter =
nullptr
;
53
};
54
}
nap::SDLAppEventHandler
Definition:
sdlappeventhandler.h:20
nap::AppEventHandler
Definition:
appeventhandler.h:19
nap::App
Definition:
templateapp.h:24
nap
Definition:
templateapp.h:17
Generated by doxygen