2015-09-10 15:36:03 +01:00
|
|
|
/**
|
2020-08-17 10:48:10 +01:00
|
|
|
* SPDX-FileCopyrightText: 2013 Albert Vaca <albertvaka@gmail.com>
|
2015-09-10 15:36:03 +01:00
|
|
|
*
|
2020-08-17 10:48:10 +01:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
2015-09-10 15:36:03 +01:00
|
|
|
*/
|
|
|
|
|
2023-07-21 19:22:59 +01:00
|
|
|
#pragma once
|
2015-09-10 15:36:03 +01:00
|
|
|
|
2016-07-05 13:27:53 +01:00
|
|
|
#include "core/kdeconnectplugin.h"
|
2016-05-25 19:49:13 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
* This class is just a proxy for NotificationsDbusInterface
|
|
|
|
* because it can not inherit from QDBusAbstractAdaptor and
|
|
|
|
* KdeConnectPlugin at the same time (both are QObject)
|
|
|
|
*/
|
2015-09-10 15:36:03 +01:00
|
|
|
class NotificationsDbusInterface;
|
2016-05-25 19:49:13 +01:00
|
|
|
class NotificationsListener;
|
2015-09-10 15:36:03 +01:00
|
|
|
|
2022-09-10 22:23:52 +01:00
|
|
|
class SendNotificationsPlugin : public KdeConnectPlugin
|
2015-09-10 15:36:03 +01:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2022-09-10 22:23:52 +01:00
|
|
|
explicit SendNotificationsPlugin(QObject *parent, const QVariantList &args);
|
2016-06-20 08:05:02 +01:00
|
|
|
~SendNotificationsPlugin() override;
|
2022-09-10 22:23:52 +01:00
|
|
|
|
2016-05-25 19:49:13 +01:00
|
|
|
protected:
|
2022-09-10 22:23:52 +01:00
|
|
|
NotificationsListener *notificationsListener;
|
2015-09-10 15:36:03 +01:00
|
|
|
};
|