forked from Qortal/Brooklyn
26 lines
521 B
C
26 lines
521 B
C
|
/*
|
||
|
SPDX-FileCopyrightText: 2014 Martin Gräßlin <mgraesslin@kde.org>
|
||
|
|
||
|
SPDX-License-Identifier: GPL-2.0-or-later
|
||
|
*/
|
||
|
#pragma once
|
||
|
|
||
|
#include <Plasma/Service>
|
||
|
|
||
|
class Klipper;
|
||
|
|
||
|
class ClipboardService : public Plasma::Service
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
ClipboardService(Klipper *klipper, const QString &uuid);
|
||
|
~ClipboardService() override = default;
|
||
|
|
||
|
protected:
|
||
|
Plasma::ServiceJob *createJob(const QString &operation, QVariantMap ¶meters) override;
|
||
|
|
||
|
private:
|
||
|
Klipper *m_klipper;
|
||
|
QString m_uuid;
|
||
|
};
|