summaryrefslogtreecommitdiffhomepage
path: root/FTNoIR_Protocol_FG/FTNoIR_Protocol_FG.h
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2013-01-27 12:07:19 +0000
committerWim Vriend <facetracknoir@gmail.com>2013-01-27 12:07:19 +0000
commitd18f6dfa5f203f4744eb6b4929870f047c80033b (patch)
tree35b2dd28e6d6dc55e816b25f61aecafa3aff233f /FTNoIR_Protocol_FG/FTNoIR_Protocol_FG.h
parentf7f30fa3b0935baa4fdd833a697c9c46a8f09dfd (diff)
Added message to main-window, to display connected-game-name
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@239 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FTNoIR_Protocol_FG/FTNoIR_Protocol_FG.h')
-rw-r--r--FTNoIR_Protocol_FG/FTNoIR_Protocol_FG.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/FTNoIR_Protocol_FG/FTNoIR_Protocol_FG.h b/FTNoIR_Protocol_FG/FTNoIR_Protocol_FG.h
index 29c262f6..34773540 100644
--- a/FTNoIR_Protocol_FG/FTNoIR_Protocol_FG.h
+++ b/FTNoIR_Protocol_FG/FTNoIR_Protocol_FG.h
@@ -3,7 +3,7 @@
* gamers from Holland, who don't like to pay much for *
* head-tracking. *
* *
-* Copyright (C) 2010 Wim Vriend (Developing) *
+* Copyright (C) 2013 Wim Vriend (Developing) *
* Ron Hendriks (Researching and Testing) *
* *
* Homepage *
@@ -39,6 +39,8 @@
#include "Windows.h"
#include "math.h"
+static const char* FT_PROGRAMID = "FT_ProgramID"; // For message to FaceTrackNoIR main-window.
+
class FTNoIR_Protocol : public IProtocol
{
public:
@@ -53,7 +55,11 @@ public:
void getNameFromGame( char *dest ); // Take care dest can handle up to 100 chars...
private:
-// Tracker *headTracker; // For upstream messages...
+
+ bool blnConnectionActive;
+ HANDLE hMainWindow; // Save the handle to FaceTrackNoIR main-window
+
+ // Tracker *headTracker; // For upstream messages...
TFlightGearData FlightData;
QUdpSocket *inSocket; // Receive from FligthGear
QUdpSocket *outSocket; // Send to FligthGear