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.
32 lines
544 B
32 lines
544 B
/* |
|
SPDX-FileCopyrightText: 2009 Chani Armitage <chani@kde.org> |
|
|
|
SPDX-License-Identifier: LGPL-2.0-only |
|
*/ |
|
|
|
#pragma once |
|
|
|
// plasma |
|
#include <Plasma/Service> |
|
#include <Plasma/ServiceJob> |
|
|
|
// own |
|
#include "appsource.h" |
|
|
|
/** |
|
* App Service |
|
*/ |
|
class AppService : public Plasma::Service |
|
{ |
|
Q_OBJECT |
|
|
|
public: |
|
explicit AppService(AppSource *source); |
|
~AppService() override; |
|
|
|
protected: |
|
Plasma::ServiceJob *createJob(const QString &operation, QMap<QString, QVariant> ¶meters) override; |
|
|
|
private: |
|
AppSource *m_source; |
|
};
|
|
|