File indexing completed on 2024-05-12 05:32:25
0001 /* 0002 SPDX-FileCopyrightText: 2016 Martin Gräßlin <mgraesslin@kde.org> 0003 SPDX-FileCopyrightText: 2020 Vlad Zahorodnii <vlad.zahorodnii@kde.org> 0004 0005 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0006 */ 0007 0008 #pragma once 0009 0010 #include "kwin_export.h" 0011 0012 #include <QObject> 0013 #include <memory> 0014 0015 namespace KWin 0016 { 0017 class Display; 0018 class PointerGesturesV1InterfacePrivate; 0019 0020 /** 0021 * Manager object for the PointerGestures. 0022 * 0023 * Creates and manages pointer swipe and pointer pinch gestures which are 0024 * reported to the SeatInterface. 0025 */ 0026 class KWIN_EXPORT PointerGesturesV1Interface : public QObject 0027 { 0028 Q_OBJECT 0029 0030 public: 0031 explicit PointerGesturesV1Interface(Display *display, QObject *parent = nullptr); 0032 ~PointerGesturesV1Interface() override; 0033 0034 private: 0035 std::unique_ptr<PointerGesturesV1InterfacePrivate> d; 0036 }; 0037 0038 } // namespace KWin