summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/FTIRServer.h
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2010-12-30 18:13:00 +0000
committerWim Vriend <facetracknoir@gmail.com>2010-12-30 18:13:00 +0000
commit26a42de2b739b8bf2cf9f1e1c849a681c1fcdc89 (patch)
treea44dfec3a52af472c14fe9009dfe9cbff507a097 /FaceTrackNoIR/FTIRServer.h
parent016d79347d429c291ea65eb95663e200e1e601f2 (diff)
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
Diffstat (limited to 'FaceTrackNoIR/FTIRServer.h')
-rw-r--r--FaceTrackNoIR/FTIRServer.h7
1 files changed, 4 insertions, 3 deletions
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 <QFile>
#include <QApplication>
#include <QDebug>
-#include <QThread>
#include <QMutex>
#include <QLibrary>
#include <QProcess>
@@ -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: