Commit 0deb9dde authored by Beat Küng's avatar Beat Küng

AirMapManager: error handling, change to updated API of airmapd

parent 22169ffe
This diff is collapsed.
...@@ -279,6 +279,7 @@ public: ...@@ -279,6 +279,7 @@ public:
void stop(); void stop();
signals: signals:
void error(const QString& what, const QString& airmapdMessage, const QString& airmapdDetails);
void trafficUpdate(QString traffic_id, QString vehicle_id, QGeoCoordinate location, float heading); void trafficUpdate(QString traffic_id, QString vehicle_id, QGeoCoordinate location, float heading);
private: private:
...@@ -313,7 +314,7 @@ public: ...@@ -313,7 +314,7 @@ public:
bool isTelemetryStreaming() const override; bool isTelemetryStreaming() const override;
signals: signals:
void networkError(QNetworkReply::NetworkError code, const QString& errorString, const QString& serverErrorMessage); void error(const QString& what, const QString& airmapdMessage, const QString& airmapdDetails);
public slots: public slots:
void endFlight() override; void endFlight() override;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment