mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-07 14:54:17 +00:00
33 lines
544 B
C++
33 lines
544 B
C++
/*
|
|
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;
|
|
};
|