Ref T709, changed to settings provider

* CPlugin is the provider
* it is "kept" in DBus object for traffic, service, weather
This commit is contained in:
Klaus Basan
2019-07-30 01:01:36 +02:00
committed by Mat Sutcliffe
parent 97926eee26
commit f9c87326fb
10 changed files with 63 additions and 46 deletions

View File

@@ -13,11 +13,9 @@
namespace XSwiftBus
{
CSettings *CWeather::s_pluginSettings = nullptr;
CWeather::CWeather(CSettings *staticSettings)
CWeather::CWeather(ISettingsProvider *settingsProvider) : CDBusObject(settingsProvider)
{
CWeather::s_pluginSettings = staticSettings;
// void
}
//! Set cloud layer