/* SPDX-FileCopyrightText: 2021 Vlad Zahorodnii SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #pragma once #include "touch_interface.h" #include "qwayland-server-wayland.h" namespace KWaylandServer { class ClientConnection; class TouchInterfacePrivate : public QtWaylandServer::wl_touch { public: static TouchInterfacePrivate *get(TouchInterface *touch); TouchInterfacePrivate(TouchInterface *q, SeatInterface *seat); QList touchesForClient(ClientConnection *client) const; TouchInterface *q; QPointer focusedSurface; SeatInterface *seat; protected: void touch_release(Resource *resource) override; }; } // namespace KWaylandServer