Changeset View
Changeset View
Standalone View
Standalone View
src/server/datadevicemanager_interface.cpp
Show All 12 Lines | |||||
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
15 | Lesser General Public License for more details. | 15 | Lesser General Public License for more details. | ||
16 | 16 | | |||
17 | You should have received a copy of the GNU Lesser General Public | 17 | You should have received a copy of the GNU Lesser General Public | ||
18 | License along with this library. If not, see <http://www.gnu.org/licenses/>. | 18 | License along with this library. If not, see <http://www.gnu.org/licenses/>. | ||
19 | *********************************************************************/ | 19 | *********************************************************************/ | ||
20 | #include "datadevicemanager_interface.h" | 20 | #include "datadevicemanager_interface.h" | ||
21 | #include "datasource_interface.h" | ||||
21 | #include "global_p.h" | 22 | #include "global_p.h" | ||
22 | #include "display.h" | 23 | #include "display.h" | ||
23 | #include "seat_interface_p.h" | 24 | #include "seat_interface_p.h" | ||
24 | // Wayland | 25 | // Wayland | ||
25 | #include <wayland-server.h> | 26 | #include <wayland-server.h> | ||
26 | 27 | | |||
27 | namespace KWayland | 28 | namespace KWayland | ||
28 | { | 29 | { | ||
Show All 19 Lines | 38 | private: | |||
48 | 49 | | |||
49 | DataDeviceManagerInterface *q; | 50 | DataDeviceManagerInterface *q; | ||
50 | static const struct wl_data_device_manager_interface s_interface; | 51 | static const struct wl_data_device_manager_interface s_interface; | ||
51 | static const quint32 s_version; | 52 | static const quint32 s_version; | ||
52 | static const qint32 s_dataDeviceVersion; | 53 | static const qint32 s_dataDeviceVersion; | ||
53 | static const qint32 s_dataSourceVersion; | 54 | static const qint32 s_dataSourceVersion; | ||
54 | }; | 55 | }; | ||
55 | 56 | | |||
56 | const quint32 DataDeviceManagerInterface::Private::s_version = 2; | 57 | const quint32 DataDeviceManagerInterface::Private::s_version = 3; | ||
57 | const qint32 DataDeviceManagerInterface::Private::s_dataDeviceVersion = 2; | 58 | const qint32 DataDeviceManagerInterface::Private::s_dataDeviceVersion = 3; | ||
58 | const qint32 DataDeviceManagerInterface::Private::s_dataSourceVersion = 1; | 59 | const qint32 DataDeviceManagerInterface::Private::s_dataSourceVersion = 3; | ||
59 | 60 | | |||
60 | #ifndef DOXYGEN_SHOULD_SKIP_THIS | 61 | #ifndef DOXYGEN_SHOULD_SKIP_THIS | ||
61 | const struct wl_data_device_manager_interface DataDeviceManagerInterface::Private::s_interface = { | 62 | const struct wl_data_device_manager_interface DataDeviceManagerInterface::Private::s_interface = { | ||
62 | createDataSourceCallback, | 63 | createDataSourceCallback, | ||
63 | getDataDeviceCallback | 64 | getDataDeviceCallback | ||
64 | }; | 65 | }; | ||
65 | #endif | 66 | #endif | ||
66 | 67 | | |||
▲ Show 20 Lines • Show All 68 Lines • Show Last 20 Lines |