You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
690 B
22 lines
690 B
/* |
|
SPDX-FileCopyrightText: 2008 Rob Scheepmaker <r.scheepmaker@student.utwente.nl> |
|
|
|
SPDX-License-Identifier: LGPL-2.0-only |
|
*/ |
|
|
|
#include "notificationservice.h" |
|
#include "notificationaction.h" |
|
#include "notificationsengine.h" |
|
|
|
NotificationService::NotificationService(NotificationsEngine *parent, const QString &source) |
|
: Plasma::Service(parent) |
|
, m_notificationEngine(parent) |
|
{ |
|
setName(QStringLiteral("notifications")); |
|
setDestination(source); |
|
} |
|
|
|
Plasma::ServiceJob *NotificationService::createJob(const QString &operation, QMap<QString, QVariant> ¶meters) |
|
{ |
|
return new NotificationAction(m_notificationEngine, destination(), operation, parameters, this); |
|
}
|
|
|