summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/SCServer.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/SCServer.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/SCServer.h')
-rw-r--r--FaceTrackNoIR/SCServer.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/FaceTrackNoIR/SCServer.h b/FaceTrackNoIR/SCServer.h
index f107de55..eea55376 100644
--- a/FaceTrackNoIR/SCServer.h
+++ b/FaceTrackNoIR/SCServer.h
@@ -71,6 +71,14 @@ private:
QString ProgramName;
QLibrary SCClientLib;
+ bool blnSimConnectActive;
+ HANDLE hSimConnect; // Handle to SimConnect
+ importSimConnect_Open simconnect_open; // SimConnect function(s) in DLL
+ importSimConnect_Close simconnect_close;
+ importSimConnect_CameraSetRelative6DOF simconnect_set6DOF;
+
+float prevPosX, prevPosY, prevPosZ, prevRotX, prevRotY, prevRotZ;
+
public:
void setVirtRotX(float rot) { virtRotX = -1.0f * rot; } // degrees
void setVirtRotY(float rot) { virtRotY = -1.0f * rot; }