KWayland

relativepointer_interface.h
1 /*
2  SPDX-FileCopyrightText: 2016 Martin Gräßlin <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5 */
6 #ifndef KWAYLAND_SERVER_RELATIVE_POINTER_INTERFACE_H
7 #define KWAYLAND_SERVER_RELATIVE_POINTER_INTERFACE_H
8 
9 #include "global.h"
10 
11 #include <KWayland/Server/kwaylandserver_export.h>
12 
13 namespace KWayland
14 {
15 namespace Server
16 {
17 
19  /**
20  * zwp_relative_pointer_manager_v1 and zwp_relative_pointer_v1
21  **/
23 };
24 
25 /**
26  * Manager object to create relative pointer interfaces.
27  *
28  * Once created the interaction happens through the SeatInterface class
29  * which automatically delegates relative motion events to the created relative pointer
30  * interfaces.
31  *
32  * @see SeatInterface::relativePointerMotion
33  * @since 5.28
34  **/
35 class KWAYLANDSERVER_EXPORT RelativePointerManagerInterface : public Global
36 {
37  Q_OBJECT
38 public:
40 
41  /**
42  * @returns The interface version used by this RelativePointerManagerInterface
43  **/
44  RelativePointerInterfaceVersion interfaceVersion() const;
45 
46 protected:
47  class Private;
48  explicit RelativePointerManagerInterface(Private *d, QObject *parent = nullptr);
49 
50 private:
51  Private *d_func() const;
52 };
53 
54 }
55 }
56 
57 #endif
Manager object to create relative pointer interfaces.
Base class for all Globals.
Definition: global.h:46
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Thu Sep 23 2021 22:51:09 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.