diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-18 09:05:25 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-18 09:12:55 +0100 |
commit | c2f88ee8bec8cdd0ea573b54aee89a241c7d4deb (patch) | |
tree | 3b311ad8bec8c05bf82e4f7ef77ace6468798fb4 /proto-flightgear/ftnoir_protocol_fg.cpp | |
parent | 6167effc23b8ca8a3034f1ab465565f92c621187 (diff) |
plugins: rename check_status -> initialize
It's a contract for plugin invocation that the particular function fills
the role of initialization. Rename accordingly.
Diffstat (limited to 'proto-flightgear/ftnoir_protocol_fg.cpp')
-rw-r--r-- | proto-flightgear/ftnoir_protocol_fg.cpp | 2 |
1 files changed, 1 insertions, 1 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(); |