Changeset View
Changeset View
Standalone View
Standalone View
krfb/eventsplugin.cpp
- This file was copied from krfb/events.h.
1 | /* | | |||
---|---|---|---|---|---|
2 | This file is part of the KDE project | | |||
3 | 1 | | |||
4 | Copyright (C) 2010 Collabora Ltd. | 2 | /* This file is part of the KDE project | ||
5 | @author George Kiagiadakis <george.kiagiadakis@collabora.co.uk> | 3 | Copyright (C) 2016 Oleg Chernovskiy <kanedias@xaker.ru> | ||
6 | Copyright (C) 2007 Alessandro Praduroux <pradu@pradu.it> | | |||
7 | Copyright (C) 2001-2003 by Tim Jansen <tim@tjansen.de> | | |||
8 | 4 | | |||
9 | This program is free software; you can redistribute it and/or | 5 | This program is free software; you can redistribute it and/or | ||
10 | modify it under the terms of the GNU General Public | 6 | modify it under the terms of the GNU General Public | ||
11 | License as published by the Free Software Foundation; either | 7 | License as published by the Free Software Foundation; either | ||
12 | version 2 of the License, or (at your option) any later version. | 8 | version 2 of the License, or (at your option) any later version. | ||
13 | 9 | | |||
14 | This program is distributed in the hope that it will be useful, | 10 | This program is distributed in the hope that it will be useful, | ||
15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
17 | General Public License for more details. | 13 | General Public License for more details. | ||
18 | 14 | | |||
19 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU General Public License | ||
20 | along with this program; see the file COPYING. If not, write to | 16 | along with this program; see the file COPYING. If not, write to | ||
21 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
22 | Boston, MA 02110-1301, USA. | 18 | Boston, MA 02110-1301, USA. | ||
23 | */ | 19 | */ | ||
24 | 20 | | |||
25 | #ifndef EVENTS_H | 21 | #include "eventsplugin.h" | ||
26 | #define EVENTS_H | | |||
27 | 22 | | |||
28 | #include "rfb.h" | 23 | #include "events.h" | ||
29 | 24 | | |||
30 | class EventHandler | 25 | EventsPlugin::EventsPlugin(QObject *parent, const QVariantList &) | ||
26 | : QObject(parent) | ||||
31 | { | 27 | { | ||
32 | public: | 28 | } | ||
33 | static void handleKeyboard(bool down, rfbKeySym key); | | |||
34 | static void handlePointer(int buttonMask, int x, int y); | | |||
35 | }; | | |||
36 | 29 | | |||
37 | #endif | 30 | EventsPlugin::~EventsPlugin() | ||
31 | { | ||||
32 | } | ||||
33 | | ||||
34 | #include "eventsplugin.moc" |