diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-08 21:40:50 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-08 21:40:50 +0200 |
commit | d2ee21b36506009aa8faa6ac66d842c339d06dbe (patch) | |
tree | b448e2c2d33fc9cdef84db9df7cdb2242744d086 /ftnoir_protocol_fg/ftnoir_protocol_fg.h | |
parent | f5c9765f76141840e411159933098c6f4bad7f33 (diff) |
actually fix FG this time
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'ftnoir_protocol_fg/ftnoir_protocol_fg.h')
-rw-r--r-- | ftnoir_protocol_fg/ftnoir_protocol_fg.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/ftnoir_protocol_fg/ftnoir_protocol_fg.h b/ftnoir_protocol_fg/ftnoir_protocol_fg.h index 40a83384..f399904b 100644 --- a/ftnoir_protocol_fg/ftnoir_protocol_fg.h +++ b/ftnoir_protocol_fg/ftnoir_protocol_fg.h @@ -36,7 +36,6 @@ #include <QUdpSocket> #include <QMessageBox> #include <QSettings> -#include <math.h> #include "facetracknoir/global-settings.h" #define FT_PROGRAMID "FT_ProgramID" @@ -52,15 +51,8 @@ public: return "FlightGear"; } private: - - bool blnConnectionActive; - - // Tracker *headTracker; // For upstream messages... - TFlightGearData FlightData; - QUdpSocket *inSocket; // Receive from FligthGear - QUdpSocket *outSocket; // Send to FligthGear - qint32 cmd; - qint32 fg_cmd; // Command from FlightGear + TFlightGearData FlightData; + QUdpSocket outSocket; // Send to FligthGear QHostAddress destIP; // Destination IP-address int destPort; // Destination port-number void loadSettings(); |