mirror of https://github.com/Qortal/Brooklyn
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.
34 lines
741 B
34 lines
741 B
/* |
|
SPDX-FileCopyrightText: 2011 Viranch Mehta <[email protected]> |
|
|
|
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; |
|
};
|
|
|