diff options
author | Ossama Othman <ossama.othman@intel.com> | 2013-10-08 11:11:12 -0700 |
---|---|---|
committer | Ossama Othman <ossama.othman@intel.com> | 2013-10-15 13:26:29 -0700 |
commit | f9ba2cb1939b84ba099ddc7ee7961f1c04eaf837 (patch) | |
tree | 1d807e7b79d17d4f56c32f4c41cc3fc7c3a8cfa2 /plugins/connman/wifi.cpp | |
parent | 967168e40c76dac0b3f56b745e5898217b37a09b (diff) | |
download | settings-daemon-f9ba2cb1939b84ba099ddc7ee7961f1c04eaf837.tar.gz settings-daemon-f9ba2cb1939b84ba099ddc7ee7961f1c04eaf837.tar.bz2 settings-daemon-f9ba2cb1939b84ba099ddc7ee7961f1c04eaf837.zip |
Effectively make connman_manager a singleton.
Only one instance of connman_manager is needed since the
corresponding connman Manager is really a global object.
Change-Id: I5143c607c91663d5004024a427dc50142c7aa33a
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
Diffstat (limited to 'plugins/connman/wifi.cpp')
-rw-r--r-- | plugins/connman/wifi.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/connman/wifi.cpp b/plugins/connman/wifi.cpp index 8cc4c03..31deafc 100644 --- a/plugins/connman/wifi.cpp +++ b/plugins/connman/wifi.cpp @@ -36,8 +36,9 @@ namespace // ---------------------------------------------------------------------- -ivi::settings::wifi::wifi(event_callback const & e) - : technology_(technology_name, e) +ivi::settings::wifi::wifi(connman_manager & manager, + event_callback const & e) + : technology_(technology_name, manager, e) { } |