KWin
Loading...
Searching...
No Matches
abstract_drop_handler.h
Go to the documentation of this file.
1/*
2 SPDX-FileCopyrightText: 2020 David Edmundson <davidedmundson@kde.org>
3 SPDX-FileCopyrightText: 2021 David Redondo <kde@david-redondo.de>
4
5 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
6*/
7
8#pragma once
9
10#include "kwin_export.h"
11
12#include <QObject>
13
14namespace KWin
15{
16class SurfaceInterface;
17
18class KWIN_EXPORT AbstractDropHandler : public QObject
19{
20 Q_OBJECT
21public:
22 AbstractDropHandler(QObject *parent = nullptr);
23 virtual void updateDragTarget(SurfaceInterface *surface, quint32 serial) = 0;
24 virtual void drop() = 0;
25};
26}
virtual void updateDragTarget(SurfaceInterface *surface, quint32 serial)=0
virtual void drop()=0
Resource representing a wl_surface.
Definition surface.h:80