mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-23 07:35:54 +00:00
35 lines
741 B
C++
35 lines
741 B
C++
/*
|
|
SPDX-FileCopyrightText: 2011 Viranch Mehta <viranch.mehta@gmail.com>
|
|
|
|
SPDX-License-Identifier: LGPL-2.0-only
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "soliddeviceengine.h"
|
|
|
|
#include <Plasma/ServiceJob>
|
|
|
|
class SolidDeviceJob : public Plasma::ServiceJob
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
SolidDeviceJob(SolidDeviceEngine *engine,
|
|
const QString &destination,
|
|
const QString &operation,
|
|
QMap<QString, QVariant> ¶meters,
|
|
QObject *parent = nullptr)
|
|
: ServiceJob(destination, operation, parameters, parent)
|
|
, m_engine(engine)
|
|
, m_dest(destination)
|
|
{
|
|
}
|
|
|
|
void start() override;
|
|
|
|
private:
|
|
SolidDeviceEngine *m_engine;
|
|
QString m_dest;
|
|
};
|