File indexing completed on 2024-04-28 08:49:11
0001 /** 0002 * SPDX-FileCopyrightText: 2013 Albert Vaca <albertvaka@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 */ 0006 0007 #pragma once 0008 0009 #include "core/kdeconnectplugin.h" 0010 0011 /* 0012 * This class is just a proxy for NotificationsDbusInterface 0013 * because it can not inherit from QDBusAbstractAdaptor and 0014 * KdeConnectPlugin at the same time (both are QObject) 0015 */ 0016 class NotificationsDbusInterface; 0017 class NotificationsListener; 0018 0019 class SendNotificationsPlugin : public KdeConnectPlugin 0020 { 0021 Q_OBJECT 0022 0023 public: 0024 explicit SendNotificationsPlugin(QObject *parent, const QVariantList &args); 0025 ~SendNotificationsPlugin() override; 0026 0027 protected: 0028 NotificationsListener *notificationsListener; 0029 };