BALL
1.5.0
include
BALL
VIEW
INPUT
deviceEvent.h
Go to the documentation of this file.
1
#ifndef DEVICEEVENT_H
2
#define DEVICEEVENT_H
3
4
#include <
BALL/VIEW/KERNEL/common.h
>
5
6
#include <QtCore/QEvent>
7
8
namespace
BALL
9
{
10
namespace
VIEW
11
{
12
class
InputDeviceDriver;
13
14
class
DeviceEvent
:
public
QEvent
15
{
16
public
:
17
DeviceEvent
(
EventsIDs
type,
InputDeviceDriver
* device);
18
19
InputDeviceDriver
*
getDevice
() {
return
device_;}
20
private
:
21
InputDeviceDriver
* device_;
22
};
23
}
24
}
25
26
#endif //DEVICEEVENT_H
27
BALL::VIEW::DeviceEvent::DeviceEvent
DeviceEvent(EventsIDs type, InputDeviceDriver *device)
QEvent
BALL
Definition:
constants.h:13
BALL::VIEW::DeviceEvent::getDevice
InputDeviceDriver * getDevice()
Definition:
deviceEvent.h:19
common.h
BALL::VIEW::EventsIDs
EventsIDs
Definition:
VIEW/KERNEL/common.h:72
BALL::VIEW::InputDeviceDriver
Definition:
inputDeviceDriver.h:19
BALL::VIEW::DeviceEvent
Definition:
deviceEvent.h:15
Generated by
1.8.20