summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/FGServer.h
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2010-12-25 13:57:40 +0000
committerWim Vriend <facetracknoir@gmail.com>2010-12-25 13:57:40 +0000
commit016d79347d429c291ea65eb95663e200e1e601f2 (patch)
treeb4121701f105f608c711a6b18e178bbb8e577b90 /FaceTrackNoIR/FGServer.h
parente007864f430012ac03455142b3910760df03987d (diff)
Finished removing QThread from Protocol-server code.
Seems to work fine... git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@33 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/FGServer.h')
-rw-r--r--FaceTrackNoIR/FGServer.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/FaceTrackNoIR/FGServer.h b/FaceTrackNoIR/FGServer.h
index 8b61f920..9fd52eb3 100644
--- a/FaceTrackNoIR/FGServer.h
+++ b/FaceTrackNoIR/FGServer.h
@@ -56,12 +56,12 @@ public:
// public member methods
FGServer( Tracker *parent );
- virtual ~FGServer() {};
+ ~FGServer();
// protected member methods
protected:
- void run();
- void terminate();
+ bool checkServerInstallationOK( HANDLE handle );
+ void sendHeadposeToGame();
private slots:
void readPendingDatagrams();
@@ -71,6 +71,7 @@ private:
TFlightGearData TestData;
QUdpSocket *inSocket; // Receive from FligthGear
QUdpSocket *outSocket; // Send to FligthGear
+ qint32 cmd;
qint32 fg_cmd; // Command from FlightGear
QHostAddress destIP; // Destination IP-address
int destPort; // Destination port-number