File indexing completed on 2024-06-23 05:29:38

0001 /*
0002     SPDX-FileCopyrightText: 2013 Alexander Mezin <mezin.alexander@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 #pragma once
0007 
0008 #include <Plasma5Support/Service>
0009 
0010 class OrgKdeTouchpadInterface;
0011 
0012 class TouchpadService : public Plasma5Support::Service
0013 {
0014     Q_OBJECT
0015 public:
0016     TouchpadService(OrgKdeTouchpadInterface *daemon, const QString &destination, QObject *parent = nullptr);
0017     ~TouchpadService();
0018 
0019 protected:
0020     Plasma5Support::ServiceJob *createJob(const QString &operation, QMap<QString, QVariant> &parameters) override;
0021 
0022 private:
0023     OrgKdeTouchpadInterface *m_daemon;
0024     QString m_destination;
0025 };