refs #602, emoved web service provider

* webservices now directly accessible via sGui
* interface no longer needed
* no init of provider (setProvider) needed anymore
This commit is contained in:
Klaus Basan
2016-02-25 04:30:08 +01:00
committed by Mathew Sutcliffe
parent a0cfa2e687
commit 79f95845b2
69 changed files with 396 additions and 1453 deletions

View File

@@ -14,7 +14,7 @@
#include "blackgui/blackguiexport.h"
#include "blackgui/infoarea.h"
#include "blackmisc/network/webdataservicesprovider.h"
#include "blackmisc/network/entityflags.h"
#include <QMainWindow>
#include <QScopedPointer>
@@ -36,8 +36,7 @@ namespace BlackGui
* Info area containing the DB data (models, liveries ...)
*/
class BLACKGUI_EXPORT CDataInfoAreaComponent :
public BlackGui::CInfoArea,
public BlackMisc::Network::CWebDataServicesAware
public BlackGui::CInfoArea
{
Q_OBJECT
@@ -79,9 +78,6 @@ namespace BlackGui
//! DB country component
CDbCountryComponent *getCountryComponent() const;
//! Set data reader
virtual void setProvider(BlackMisc::Network::IWebDataServicesProvider *webDataReader) override;
public slots:
//! Write to resource dir
bool writeDbDataToResourceDir() const;