Decouple flightloop processing from DBus

There are needs to not only run DBus tasks, but also different generic
tasks during the processing loop.
This commit is contained in:
Roland Winklmeier
2018-09-24 17:09:48 +02:00
committed by Klaus Basan
parent 41ac858df8
commit cfc9c3166e
8 changed files with 13 additions and 12 deletions

View File

@@ -118,7 +118,8 @@ namespace XSwiftBus
//! Sets the aircraft with callsign to be followed in plane view
void setFollowedAircraft(const std::string &callsign);
int processDBus() override;
//! Perform generic processing
int process();
protected:
DBusHandlerResult dbusMessageHandler(const CDBusMessage &message) override;