2013-07-03 02:52:44 +01:00
|
|
|
/**
|
2013-06-27 01:13:16 +01:00
|
|
|
* Copyright 2013 Albert Vaca <albertvaka@gmail.com>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2 of
|
|
|
|
* the License or (at your option) version 3 or any later version
|
|
|
|
* accepted by the membership of KDE e.V. (or its successor approved
|
|
|
|
* by the membership of KDE e.V.), which shall act as a proxy
|
|
|
|
* defined in Section 14 of version 3 of the license.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2013-08-21 17:25:44 +01:00
|
|
|
#ifndef DBUSINTERFACES_H
|
|
|
|
#define DBUSINTERFACES_H
|
2013-06-27 01:13:16 +01:00
|
|
|
|
2014-06-14 14:22:40 +01:00
|
|
|
#include "interfaces/kdeconnectinterfaces_export.h"
|
2013-08-21 17:25:44 +01:00
|
|
|
|
2014-06-14 14:22:40 +01:00
|
|
|
#include "interfaces/daemoninterface.h"
|
|
|
|
#include "interfaces/deviceinterface.h"
|
|
|
|
#include "interfaces/devicebatteryinterface.h"
|
|
|
|
#include "interfaces/devicesftpinterface.h"
|
|
|
|
#include "interfaces/devicenotificationsinterface.h"
|
|
|
|
#include "interfaces/notificationinterface.h"
|
2013-06-27 01:13:16 +01:00
|
|
|
|
2013-07-26 15:21:19 +01:00
|
|
|
/**
|
|
|
|
* Using these "proxy" classes just in case we need to rename the
|
|
|
|
* interface, so we can change the class name in a single place.
|
|
|
|
*/
|
2014-06-14 14:22:40 +01:00
|
|
|
class KDECONNECTINTERFACES_EXPORT DaemonDbusInterface
|
2013-07-26 15:21:19 +01:00
|
|
|
: public OrgKdeKdeconnectDaemonInterface
|
2013-07-24 17:42:33 +01:00
|
|
|
{
|
2013-06-27 01:13:16 +01:00
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2013-11-15 16:38:41 +00:00
|
|
|
DaemonDbusInterface(QObject* parent = 0);
|
2014-01-16 11:13:17 +00:00
|
|
|
virtual ~DaemonDbusInterface();
|
2013-06-27 01:13:16 +01:00
|
|
|
};
|
|
|
|
|
2014-06-14 14:22:40 +01:00
|
|
|
class KDECONNECTINTERFACES_EXPORT DeviceDbusInterface
|
2013-07-26 15:21:19 +01:00
|
|
|
: public OrgKdeKdeconnectDeviceInterface
|
|
|
|
{
|
2013-07-03 02:52:44 +01:00
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2013-11-15 16:38:41 +00:00
|
|
|
DeviceDbusInterface(const QString& deviceId, QObject* parent = 0);
|
2014-01-16 11:13:17 +00:00
|
|
|
virtual ~DeviceDbusInterface();
|
2013-07-03 02:52:44 +01:00
|
|
|
};
|
|
|
|
|
2014-06-14 14:22:40 +01:00
|
|
|
class KDECONNECTINTERFACES_EXPORT DeviceBatteryDbusInterface
|
2013-08-21 17:25:44 +01:00
|
|
|
: public OrgKdeKdeconnectDeviceBatteryInterface
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2013-11-15 16:38:41 +00:00
|
|
|
DeviceBatteryDbusInterface(const QString& deviceId, QObject* parent = 0);
|
2014-01-16 11:13:17 +00:00
|
|
|
virtual ~DeviceBatteryDbusInterface();
|
2013-08-21 17:25:44 +01:00
|
|
|
};
|
|
|
|
|
2014-06-14 14:22:40 +01:00
|
|
|
class KDECONNECTINTERFACES_EXPORT DeviceNotificationsDbusInterface
|
2013-08-21 17:25:44 +01:00
|
|
|
: public OrgKdeKdeconnectDeviceNotificationsInterface
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2013-11-15 16:38:41 +00:00
|
|
|
DeviceNotificationsDbusInterface(const QString& deviceId, QObject* parent = 0);
|
2014-01-16 11:13:17 +00:00
|
|
|
virtual ~DeviceNotificationsDbusInterface();
|
2013-08-21 17:25:44 +01:00
|
|
|
};
|
|
|
|
|
2014-06-14 14:22:40 +01:00
|
|
|
class KDECONNECTINTERFACES_EXPORT NotificationDbusInterface
|
2013-08-21 17:25:44 +01:00
|
|
|
: public OrgKdeKdeconnectDeviceNotificationsNotificationInterface
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2013-11-15 16:38:41 +00:00
|
|
|
NotificationDbusInterface(const QString& deviceId, const QString& notificationId, QObject* parent = 0);
|
2014-01-16 11:13:17 +00:00
|
|
|
virtual ~NotificationDbusInterface();
|
2013-08-21 17:25:44 +01:00
|
|
|
};
|
|
|
|
|
2014-06-14 14:22:40 +01:00
|
|
|
class KDECONNECTINTERFACES_EXPORT SftpDbusInterface
|
2014-01-06 20:56:51 +00:00
|
|
|
: public OrgKdeKdeconnectDeviceSftpInterface
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
SftpDbusInterface(const QString& deviceId, QObject* parent = 0);
|
|
|
|
virtual ~SftpDbusInterface();
|
|
|
|
};
|
|
|
|
|
2015-02-24 06:12:45 +00:00
|
|
|
#endif
|