File indexing completed on 2024-05-19 16:35:16
0001 /* 0002 SPDX-FileCopyrightText: 2020 David Edmundson <davidedmundson@kde.org> 0003 SPDX-FileCopyrightText: 2021 David Redondo <kde@david-redondo.de> 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 0014 namespace KWaylandServer 0015 { 0016 class SurfaceInterface; 0017 0018 class KWIN_EXPORT AbstractDropHandler : public QObject 0019 { 0020 Q_OBJECT 0021 public: 0022 AbstractDropHandler(QObject *parent = nullptr); 0023 virtual void updateDragTarget(SurfaceInterface *surface, quint32 serial) = 0; 0024 virtual void drop() = 0; 0025 }; 0026 }