00001 #ifndef DEVICEEVENT_H
00002 #define DEVICEEVENT_H
00003
00004 #include <BALL/VIEW/KERNEL/common.h>
00005
00006 #include <QtCore/QEvent>
00007
00008 namespace BALL
00009 {
00010 namespace VIEW
00011 {
00012 class InputDeviceDriver;
00013
00014 class DeviceEvent : public QEvent
00015 {
00016 public:
00017 DeviceEvent(EventsIDs type, InputDeviceDriver* device);
00018
00019 InputDeviceDriver* getDevice() { return device_;}
00020 private:
00021 InputDeviceDriver* device_;
00022 };
00023 }
00024 }
00025
00026 #endif //DEVICEEVENT_H
00027