mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-23 15:45:53 +00:00
27 lines
504 B
C
27 lines
504 B
C
|
/*
|
||
|
SPDX-FileCopyrightText: 2011 Viranch Mehta <viranch.mehta@gmail.com>
|
||
|
|
||
|
SPDX-License-Identifier: LGPL-2.0-only
|
||
|
*/
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include <Plasma/Service>
|
||
|
|
||
|
class HotplugEngine;
|
||
|
|
||
|
class HotplugService : public Plasma::Service
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
HotplugService(HotplugEngine *parent, const QString &source);
|
||
|
|
||
|
protected:
|
||
|
Plasma::ServiceJob *createJob(const QString &operation, QMap<QString, QVariant> ¶meters) override;
|
||
|
|
||
|
private:
|
||
|
HotplugEngine *m_engine;
|
||
|
QString m_dest;
|
||
|
};
|