3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-07 14:54:17 +00:00
Brooklyn/plasma/workspace/dataengines/apps/appservice.h
2022-03-05 22:41:29 +05:00

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> &parameters) override;
private:
AppSource *m_source;
};