Changeset View
Changeset View
Standalone View
Standalone View
core/kdeconnectplugin.h
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | 39 | public: | |||
---|---|---|---|---|---|
42 | 42 | | |||
43 | const Device* device(); | 43 | const Device* device(); | ||
44 | Device const* device() const; | 44 | Device const* device() const; | ||
45 | 45 | | |||
46 | bool sendPackage(NetworkPackage& np) const; | 46 | bool sendPackage(NetworkPackage& np) const; | ||
47 | 47 | | |||
48 | KdeConnectPluginConfig* config() const; | 48 | KdeConnectPluginConfig* config() const; | ||
49 | 49 | | |||
50 | virtual QString dbusPath() const; | ||||
51 | | ||||
50 | public Q_SLOTS: | 52 | public Q_SLOTS: | ||
51 | /** | 53 | /** | ||
52 | * Returns true if it has handled the package in some way | 54 | * Returns true if it has handled the package in some way | ||
53 | * device.sendPackage can be used to send an answer back to the device | 55 | * device.sendPackage can be used to send an answer back to the device | ||
54 | */ | 56 | */ | ||
55 | virtual bool receivePackage(const NetworkPackage& np) = 0; | 57 | virtual bool receivePackage(const NetworkPackage& np) = 0; | ||
56 | 58 | | |||
57 | /** | 59 | /** | ||
Show All 11 Lines |