Changeset View
Changeset View
Standalone View
Standalone View
interfaces/dbusinterfaces.h
Show All 27 Lines | |||||
28 | #include "interfaces/devicebatteryinterface.h" | 28 | #include "interfaces/devicebatteryinterface.h" | ||
29 | #include "interfaces/devicesftpinterface.h" | 29 | #include "interfaces/devicesftpinterface.h" | ||
30 | #include "interfaces/devicefindmyphoneinterface.h" | 30 | #include "interfaces/devicefindmyphoneinterface.h" | ||
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/remotecommandinterface.h" | ||
37 | #include "interfaces/deviceremotecommandsinterface.h" | ||||
37 | #include "interfaces/remotekeyboardinterface.h" | 38 | #include "interfaces/remotekeyboardinterface.h" | ||
38 | #include "interfaces/telephonyinterface.h" | 39 | #include "interfaces/telephonyinterface.h" | ||
39 | #include "interfaces/conversationsinterface.h" | 40 | #include "interfaces/conversationsinterface.h" | ||
40 | 41 | | |||
41 | /** | 42 | /** | ||
42 | * Using these "proxy" classes just in case we need to rename the | 43 | * Using these "proxy" classes just in case we need to rename the | ||
43 | * interface, so we can change the class name in a single place. | 44 | * interface, so we can change the class name in a single place. | ||
44 | */ | 45 | */ | ||
▲ Show 20 Lines • Show All 139 Lines • ▼ Show 20 Line(s) | 184 | class KDECONNECTINTERFACES_EXPORT FindMyPhoneDeviceDbusInterface | |||
184 | : public OrgKdeKdeconnectDeviceFindmyphoneInterface | 185 | : public OrgKdeKdeconnectDeviceFindmyphoneInterface | ||
185 | { | 186 | { | ||
186 | Q_OBJECT | 187 | Q_OBJECT | ||
187 | public: | 188 | public: | ||
188 | explicit FindMyPhoneDeviceDbusInterface(const QString& deviceId, QObject* parent = nullptr); | 189 | explicit FindMyPhoneDeviceDbusInterface(const QString& deviceId, QObject* parent = nullptr); | ||
189 | ~FindMyPhoneDeviceDbusInterface() override; | 190 | ~FindMyPhoneDeviceDbusInterface() override; | ||
190 | }; | 191 | }; | ||
191 | 192 | | |||
192 | class KDECONNECTINTERFACES_EXPORT RemoteCommandsDbusInterface | 193 | class KDECONNECTINTERFACES_EXPORT DeviceRemotecommandsDbusInterface | ||
193 | : public OrgKdeKdeconnectDeviceRemotecommandsInterface | 194 | : public OrgKdeKdeconnectDeviceRemotecommandsInterface | ||
194 | { | 195 | { | ||
195 | Q_OBJECT | 196 | Q_OBJECT | ||
196 | public: | 197 | public: | ||
197 | explicit RemoteCommandsDbusInterface(const QString& deviceId, QObject* parent = nullptr); | 198 | explicit DeviceRemotecommandsDbusInterface(const QString& deviceId, QObject* parent = nullptr); | ||
198 | ~RemoteCommandsDbusInterface() override; | 199 | ~DeviceRemotecommandsDbusInterface() override; | ||
200 | }; | ||||
201 | | ||||
202 | class KDECONNECTINTERFACES_EXPORT RemotecommandDbusInterface | ||||
203 | : public OrgKdeKdeconnectDeviceRemotecommandsRemotecommandInterface | ||||
204 | { | ||||
205 | Q_OBJECT | ||||
206 | public: | ||||
207 | RemotecommandDbusInterface(const QString& deviceId, const QString& commandId, QObject* parent = nullptr); | ||||
208 | ~RemotecommandDbusInterface() override; | ||||
209 | | ||||
210 | QString commandId() { return id; } | ||||
211 | private: | ||||
212 | const QString id; | ||||
199 | }; | 213 | }; | ||
200 | 214 | | |||
201 | class KDECONNECTINTERFACES_EXPORT RemoteKeyboardDbusInterface | 215 | class KDECONNECTINTERFACES_EXPORT RemoteKeyboardDbusInterface | ||
202 | : public OrgKdeKdeconnectDeviceRemotekeyboardInterface | 216 | : public OrgKdeKdeconnectDeviceRemotekeyboardInterface | ||
203 | { | 217 | { | ||
204 | Q_OBJECT | 218 | Q_OBJECT | ||
205 | Q_PROPERTY(bool remoteState READ remoteState NOTIFY remoteStateChanged) | 219 | Q_PROPERTY(bool remoteState READ remoteState NOTIFY remoteStateChanged) | ||
206 | public: | 220 | public: | ||
Show All 28 Lines |