diff options
Diffstat (limited to 'proto-flightgear')
-rw-r--r-- | proto-flightgear/ftnoir_protocol_fg.cpp | 2 | ||||
-rw-r--r-- | proto-flightgear/ftnoir_protocol_fg.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/proto-flightgear/ftnoir_protocol_fg.cpp b/proto-flightgear/ftnoir_protocol_fg.cpp index 5db12e03..b36a2f47 100644 --- a/proto-flightgear/ftnoir_protocol_fg.cpp +++ b/proto-flightgear/ftnoir_protocol_fg.cpp @@ -25,7 +25,7 @@ void flightgear::pose(const double* headpose) { (void) outSocket.writeDatagram(reinterpret_cast<const char*>(&FlightData), sizeof(FlightData), destIP, static_cast<quint16>(s.port)); } -module_status flightgear::check_status() +module_status flightgear::initialize() { if (outSocket.bind(QHostAddress::Any, 0, QUdpSocket::ShareAddress | QUdpSocket::ReuseAddressHint)) return status_ok(); diff --git a/proto-flightgear/ftnoir_protocol_fg.h b/proto-flightgear/ftnoir_protocol_fg.h index 8ba7c7c8..f92c3072 100644 --- a/proto-flightgear/ftnoir_protocol_fg.h +++ b/proto-flightgear/ftnoir_protocol_fg.h @@ -43,7 +43,7 @@ class flightgear : public IProtocol public: void pose(const double *headpose); QString game_name() { return otr_tr("FlightGear"); } - module_status check_status() override; + module_status initialize() override; private: settings s; flightgear_datagram FlightData; |