summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_sm/ftnoir_tracker_sm.h
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2013-04-12 16:27:55 +0200
committerWim Vriend <facetracknoir@gmail.com>2013-04-12 16:27:55 +0200
commite6d3beca29831486a8d2d19df53e2b5f19da85bf (patch)
treee008675149b4e8bb7770a084712f5cdecdacb6de /ftnoir_tracker_sm/ftnoir_tracker_sm.h
parent3cd6b8f2e6f3a2de8dce573fe457eddca3c8ee1f (diff)
Made faceAPI tracker shared memory like HT
Diffstat (limited to 'ftnoir_tracker_sm/ftnoir_tracker_sm.h')
-rw-r--r--ftnoir_tracker_sm/ftnoir_tracker_sm.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/ftnoir_tracker_sm/ftnoir_tracker_sm.h b/ftnoir_tracker_sm/ftnoir_tracker_sm.h
index 39997970..ae79436d 100644
--- a/ftnoir_tracker_sm/ftnoir_tracker_sm.h
+++ b/ftnoir_tracker_sm/ftnoir_tracker_sm.h
@@ -32,6 +32,7 @@
#include "Windows.h"
#include "math.h"
#include "facetracknoir/global-settings.h"
+#include "compat/compat.h"
#include <QFrame>
using namespace std;
@@ -48,18 +49,15 @@ public:
void WaitForExit();
void loadSettings();
- bool SMCreateMapping();
private:
//
// global variables
//
- HANDLE hSMMemMap;
- SMMemMap *pMemData;
- HANDLE hSMMutex;
+ PortableLockedShm lck_shm;
+ SMMemMap *pMemData;
QProcess *faceAPI;
-// int numTracker;
bool bEnableRoll;
bool bEnablePitch;
bool bEnableYaw;