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

@@ -41,7 +41,7 @@ namespace XSwiftBus
/*!
* Main plugin class
*/
class CPlugin
class CPlugin : public ISettingsProvider
{
public:
//! Constructor
@@ -57,8 +57,6 @@ namespace XSwiftBus
void onAircraftRepositioned();
private:
static CSettings s_pluginSettings; //!< needs to used in static in static functions
CConfig m_pluginConfig;
CDBusDispatcher m_dbusDispatcher;
std::unique_ptr<CDBusServer> m_dbusP2PServer;