3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-23 15:45:53 +00:00

31 lines
645 B
C
Raw Normal View History

2022-03-05 22:41:29 +05:00
/*
SPDX-FileCopyrightText: 2011 Viranch Mehta <viranch.mehta@gmail.com>
SPDX-License-Identifier: LGPL-2.0-only
*/
#pragma once
#include "hotplugengine.h"
#include <Plasma/ServiceJob>
class HotplugJob : public Plasma::ServiceJob
{
Q_OBJECT
public:
HotplugJob(HotplugEngine *engine, const QString &destination, const QString &operation, QMap<QString, QVariant> &parameters, QObject *parent = nullptr)
: ServiceJob(destination, operation, parameters, parent)
, m_engine(engine)
, m_dest(destination)
{
}
void start() override;
private:
HotplugEngine *m_engine;
QString m_dest;
};