From 26a42de2b739b8bf2cf9f1e1c849a681c1fcdc89 Mon Sep 17 00:00:00 2001 From: Wim Vriend Date: Thu, 30 Dec 2010 18:13:00 +0000 Subject: Spent the day removing some bad-bugs in the fake TrackIR protocol and the SCServer protocol. Seems to work now?! git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@34 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb --- FaceTrackNoIR/FTIRServer.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'FaceTrackNoIR/FTIRServer.h') diff --git a/FaceTrackNoIR/FTIRServer.h b/FaceTrackNoIR/FTIRServer.h index bdf31cc6..98bba55c 100644 --- a/FaceTrackNoIR/FTIRServer.h +++ b/FaceTrackNoIR/FTIRServer.h @@ -31,7 +31,6 @@ #include #include #include -#include #include #include #include @@ -53,11 +52,13 @@ public: // public member methods FTIRServer(); ~FTIRServer(); + QString GetProgramName(); // protected member methods protected: bool checkServerInstallationOK( HANDLE handle ); void sendHeadposeToGame(); + void stopServer(); private: bool FTIRCreateMapping(HANDLE handle); @@ -75,10 +76,10 @@ private: QString ProgramName; QLibrary FTIRClientLib; QLibrary FTIRViewsLib; - bool useTIRViews; QProcess *dummyTrackIR; + bool useTIRViews; - static float scale2AnalogLimits( float x, float min_x, float max_x ); + float scale2AnalogLimits( float x, float min_x, float max_x ); void loadSettings(); public: -- cgit v1.2.3