1 /* 2 SPDX-FileCopyrightText: 2008 Rob Scheepmaker <r.scheepmaker@student.utwente.nl> 3 4 SPDX-License-Identifier: LGPL-2.0-only 5 */ 6 7 #pragma once 8 9 #include "notificationsengine.h" 10 11 #include <Plasma/ServiceJob> 12 13 class NotificationAction : public Plasma::ServiceJob 14 { 15 Q_OBJECT 16 17 public: 18 NotificationAction(NotificationsEngine *engine, 19 const QString &destination, 20 const QString &operation, 21 QMap<QString, QVariant> ¶meters, 22 QObject *parent = nullptr) ServiceJob(destination,operation,parameters,parent)23 : ServiceJob(destination, operation, parameters, parent) 24 , m_engine(engine) 25 { 26 } 27 28 void start() override; 29 30 private: 31 NotificationsEngine *m_engine; 32 }; 33