summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/FaceApp.cpp
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2010-07-17 12:20:26 +0000
committerWim Vriend <facetracknoir@gmail.com>2010-07-17 12:20:26 +0000
commiteaacd47152e280baf330f88591dda6a04953a628 (patch)
tree94f4a0ca42047b367b07838585f228d139ae257b /FaceTrackNoIR/FaceApp.cpp
parent1de2c6cab939b0d887b8d2acc59fe24939df2cfc (diff)
Added TrackIR support
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@15 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/FaceApp.cpp')
-rw-r--r--FaceTrackNoIR/FaceApp.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/FaceTrackNoIR/FaceApp.cpp b/FaceTrackNoIR/FaceApp.cpp
index 433e9b2d..231a07c9 100644
--- a/FaceTrackNoIR/FaceApp.cpp
+++ b/FaceTrackNoIR/FaceApp.cpp
@@ -1,6 +1,7 @@
#include "FaceApp.h"
#include "windows.h"
#include "FTTypes.h"
+#include "FTIRTypes.h"
#include <QDebug>
//
@@ -41,6 +42,8 @@ void FaceApp::SetupEventFilter( FaceTrackNoIR *window ) {
mainWindow = window;
msgID_FTClient = RegisterWindowMessageA ( FT_PROGRAMID );
qDebug() << "FaceApp::SetupEventFilter says: Message ID =" << msgID_FTClient;
+ msgID_FTIR_Register = RegisterWindowMessageA ( FTIR_REGISTER_PROGRAMHANDLE );
+ msgID_FTIR_UnRegister = RegisterWindowMessageA ( FTIR_UNREGISTER_PROGRAMHANDLE );
////if ( RegisterHotKey( window->winId(), 777, MOD_WIN, VK_HOME ) ) {
//// qDebug() << "FaceApp::SetupEventFilter says: RegisterHotKey HOME =" << VK_HOME;