Changeset View
Changeset View
Standalone View
Standalone View
interfaces/dbusinterfaces.h
Show All 30 Lines | |||||
31 | #include "interfaces/devicenotificationsinterface.h" | 31 | #include "interfaces/devicenotificationsinterface.h" | ||
32 | #include "interfaces/notificationinterface.h" | 32 | #include "interfaces/notificationinterface.h" | ||
33 | #include "interfaces/mprisremoteinterface.h" | 33 | #include "interfaces/mprisremoteinterface.h" | ||
34 | #include "interfaces/remotecontrolinterface.h" | 34 | #include "interfaces/remotecontrolinterface.h" | ||
35 | #include "interfaces/lockdeviceinterface.h" | 35 | #include "interfaces/lockdeviceinterface.h" | ||
36 | #include "interfaces/remotecommandsinterface.h" | 36 | #include "interfaces/remotecommandsinterface.h" | ||
37 | #include "interfaces/remotekeyboardinterface.h" | 37 | #include "interfaces/remotekeyboardinterface.h" | ||
38 | #include "interfaces/telephonyinterface.h" | 38 | #include "interfaces/telephonyinterface.h" | ||
39 | #include "interfaces/conversationsinterface.h" | ||||
39 | 40 | | |||
40 | /** | 41 | /** | ||
41 | * Using these "proxy" classes just in case we need to rename the | 42 | * Using these "proxy" classes just in case we need to rename the | ||
42 | * interface, so we can change the class name in a single place. | 43 | * interface, so we can change the class name in a single place. | ||
43 | */ | 44 | */ | ||
44 | class KDECONNECTINTERFACES_EXPORT DaemonDbusInterface | 45 | class KDECONNECTINTERFACES_EXPORT DaemonDbusInterface | ||
45 | : public OrgKdeKdeconnectDaemonInterface | 46 | : public OrgKdeKdeconnectDaemonInterface | ||
46 | { | 47 | { | ||
▲ Show 20 Lines • Show All 63 Lines • ▼ Show 20 Line(s) | 110 | public: | |||
110 | NotificationDbusInterface(const QString& deviceId, const QString& notificationId, QObject* parent = nullptr); | 111 | NotificationDbusInterface(const QString& deviceId, const QString& notificationId, QObject* parent = nullptr); | ||
111 | ~NotificationDbusInterface() override; | 112 | ~NotificationDbusInterface() override; | ||
112 | 113 | | |||
113 | QString notificationId() { return id; } | 114 | QString notificationId() { return id; } | ||
114 | private: | 115 | private: | ||
115 | const QString id; | 116 | const QString id; | ||
116 | }; | 117 | }; | ||
117 | 118 | | |||
119 | class KDECONNECTINTERFACES_EXPORT DeviceConversationsDbusInterface | ||||
120 | : public OrgKdeKdeconnectDeviceConversationsInterface | ||||
121 | { | ||||
122 | Q_OBJECT | ||||
123 | public: | ||||
124 | explicit DeviceConversationsDbusInterface(const QString& deviceId, QObject* parent = nullptr); | ||||
125 | ~DeviceConversationsDbusInterface() override; | ||||
126 | }; | ||||
118 | 127 | | |||
119 | class KDECONNECTINTERFACES_EXPORT SftpDbusInterface | 128 | class KDECONNECTINTERFACES_EXPORT SftpDbusInterface | ||
120 | : public OrgKdeKdeconnectDeviceSftpInterface | 129 | : public OrgKdeKdeconnectDeviceSftpInterface | ||
121 | { | 130 | { | ||
122 | Q_OBJECT | 131 | Q_OBJECT | ||
123 | public: | 132 | public: | ||
124 | explicit SftpDbusInterface(const QString& deviceId, QObject* parent = nullptr); | 133 | explicit SftpDbusInterface(const QString& deviceId, QObject* parent = nullptr); | ||
125 | ~SftpDbusInterface() override; | 134 | ~SftpDbusInterface() override; | ||
▲ Show 20 Lines • Show All 100 Lines • Show Last 20 Lines |