Changeset View
Changeset View
Standalone View
Standalone View
core/backends/loopback/loopbackdevicelink.h
Show All 27 Lines | |||||
28 | class LoopbackDeviceLink | 28 | class LoopbackDeviceLink | ||
29 | : public DeviceLink | 29 | : public DeviceLink | ||
30 | { | 30 | { | ||
31 | Q_OBJECT | 31 | Q_OBJECT | ||
32 | public: | 32 | public: | ||
33 | LoopbackDeviceLink(const QString& d, LoopbackLinkProvider* a); | 33 | LoopbackDeviceLink(const QString& d, LoopbackLinkProvider* a); | ||
34 | 34 | | |||
35 | QString name() override; | 35 | QString name() override; | ||
36 | bool sendPackage(NetworkPackage& np) override; | 36 | bool sendPacket(NetworkPacket& np) override; | ||
37 | 37 | | |||
38 | void userRequestsPair() override { setPairStatus(Paired); } | 38 | void userRequestsPair() override { setPairStatus(Paired); } | ||
39 | void userRequestsUnpair() override { setPairStatus(NotPaired); } | 39 | void userRequestsUnpair() override { setPairStatus(NotPaired); } | ||
40 | }; | 40 | }; | ||
41 | 41 | | |||
42 | #endif | 42 | #endif |