diff options
author | Raquel Medina <raquel.medina@konsulko.com> | 2019-09-09 00:35:55 +0200 |
---|---|---|
committer | raquel medina <raquel.medina@konsulko.com> | 2019-09-10 14:09:30 +0000 |
commit | 4221fd2f9e5b72090fe5c2c5f19aa16ab8bf68b8 (patch) | |
tree | 82a6e7e606c85e75e36cdd71c07f6f5aed802f4d /network/network.h | |
parent | a824dc2de24ac3789207a5fb9d89400bc83891f9 (diff) |
wired: add hooks for addressing configuration
- Add new roles to provide UI clients with the
active configuration (values obtained from the
stack: agl-service-network binding + connman).
- Add Q_INVOKABLE methods to feed new values
from the UI client.
SPEC-2676
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: Id239ddc549ec8471d44d56f7631d4e9e3efda798
Diffstat (limited to 'network/network.h')
-rw-r--r-- | network/network.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/network/network.h b/network/network.h index b289f42..aa83fed 100644 --- a/network/network.h +++ b/network/network.h @@ -42,6 +42,8 @@ class Network : public QObject Q_INVOKABLE void remove(QString service); Q_INVOKABLE void power(bool on, QString type = "wifi"); Q_INVOKABLE void input(int id, QString passphrase); + Q_INVOKABLE void configureAddress(QString service, QVariantList paramlist); + Q_INVOKABLE void configureNameServer(QString service, QVariantList paramlist); void getServices(); AdapterIf* findAdapter(QString type); |