kwin/src/wayland/abstract_drop_handler.h
Vlad Zahorodnii b64f95b703 Integrate kwaylandserver
This makes KWin switch to in-tree copy of KWaylandServer codebase.

KWaylandServer namespace has been left as is. It will be addressed later
by renaming classes in order to fit in the KWin namespace.
2022-04-22 12:27:33 +03:00

26 lines
602 B
C++

/*
SPDX-FileCopyrightText: 2020 David Edmundson <davidedmundson@kde.org>
SPDX-FileCopyrightText: 2021 David Redondo <kde@david-redondo.de>
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#pragma once
#include "kwin_export.h"
#include <QObject>
namespace KWaylandServer
{
class SurfaceInterface;
class KWIN_EXPORT AbstractDropHandler : public QObject
{
Q_OBJECT
public:
AbstractDropHandler(QObject *parent = nullptr);
virtual void updateDragTarget(SurfaceInterface *surface, quint32 serial) = 0;
virtual void drop() = 0;
};
}