summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
authorRaquel Medina <raquel.medina@konsulko.com>2019-04-30 16:07:12 +0300
committerRaquel Medina <raquel.medina@konsulko.com>2019-05-14 15:03:27 +0200
commitb95b16f5fe5671de805403b8067367e5de3044bc (patch)
treee6255f55ebf3947dfff321e3e4519b4d95ddbd42 /network
parent1fbfc103a8fba891ee20735e5355045e46ce184c (diff)
network: add dummy methods for back compatibility
Include some dummy methods in Network class to keep homescreen build sane after change 21203 (network if rework) is picked by libqtappfw recipe; this commit will be reverted after homescreen change is updated too. Bug-AGL: SPEC-2293 Change-Id: I6e0b52d8bca6377266894742cda1a199fa14c5bb Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Diffstat (limited to 'network')
-rw-r--r--network/network.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/network/network.h b/network/network.h
index 21720bc..35d9ce5 100644
--- a/network/network.h
+++ b/network/network.h
@@ -82,6 +82,17 @@ class Network : public QObject
"technologies",
"technology_properties",
};
+
+ /*To be deleted in next patch, dummy methods to keep homescreen build sane*/
+ public:
+ bool wifiConnected() const { return false; }
+ bool wifiEnabled() const { return false; }
+ int wifiStrength() const { return 0; }
+ signals:
+ void wifiConnectedChanged(bool connected);
+ void wifiEnabledChanged(bool enabled);
+ void wifiStrengthChanged(int strength);
+
};
#endif // NETWORK_H