/* SPDX-FileCopyrightText: 2020 David Edmundson SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #ifndef WAYLAND_SERVER_DATA_CONTROL_DEVICE_MANAGER_INTERFACE_H #define WAYLAND_SERVER_DATA_CONTROL_DEVICE_MANAGER_INTERFACE_H #include #include namespace KWaylandServer { class Display; class DataControlSourceV1Interface; class DataControlDeviceManagerV1InterfacePrivate; class DataControlDeviceV1Interface; /** * @brief Represents the Global for zwlr_data_control_manager_v1 interface. * **/ class KWAYLANDSERVER_EXPORT DataControlDeviceManagerV1Interface : public QObject { Q_OBJECT public: ~DataControlDeviceManagerV1Interface() override; Q_SIGNALS: void dataSourceCreated(KWaylandServer::DataControlSourceV1Interface *dataSource); void dataDeviceCreated(KWaylandServer::DataControlDeviceV1Interface *dataDevice); private: explicit DataControlDeviceManagerV1Interface(Display *display, QObject *parent = nullptr); friend class Display; QScopedPointer d; }; } #endif