diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-03-22 20:48:17 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-03-22 20:48:17 +0100 |
commit | 3089c4bbc10e98d18f43e8a70e7a3d0c0eaf0900 (patch) | |
tree | c6f985472c05372417ecd4a861f6c2f346b63fd3 /FaceTrackNoIR/FaceApp.cpp | |
parent | 3e1515e88c6f750c193ed9b9908d8a9c09e5b025 (diff) |
Downcase. PLEASE TURN OFF IGNORING CASE IN GIT CONFIG!!!
.git/config:
[core]
ignorecase = false
Diffstat (limited to 'FaceTrackNoIR/FaceApp.cpp')
-rw-r--r-- | FaceTrackNoIR/FaceApp.cpp | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/FaceTrackNoIR/FaceApp.cpp b/FaceTrackNoIR/FaceApp.cpp deleted file mode 100644 index 2811974c..00000000 --- a/FaceTrackNoIR/FaceApp.cpp +++ /dev/null @@ -1,60 +0,0 @@ -#include "FaceApp.h"
-#include "windows.h"
-#include "..\FTNoIR_Protocol_FT\FTTypes.h"
-#include "..\FTNoIR_Protocol_FTIR\FTIRTypes.h"
-#include <QDebug>
-
-//
-// Override the Application MessageFilter, to receive messages from the game(s)
-//
-bool FaceApp::winEventFilter( MSG * msg, long * result )
-{
- int msgType = msg->message; // test line
-
- if (msgType == msgID_FTClient) {
- qDebug() << "FaceApp::winEventFilter says: game tickles me =" << msgType << "hwnd =" << msg->hwnd;
- if (mainWindow != NULL) {
- mainWindow->getGameProgramName();
- }
- }
-
- ////if (msgType == WM_HOTKEY) {
- //// switch ( msg->wParam ) {
- //// case 777:
- //// qDebug() << "FaceApp::winEventFilter says: HOME pressed";
- //// break;
- //// case 778:
- //// qDebug() << "FaceApp::winEventFilter says: END pressed";
- //// break;
- //// default:
- //// qDebug() << "FaceApp::winEventFilter says: unknown HotKey pressed";
- //// break;
- //// }
- ////}
- return( false );
-}
-
-//
-// Setup the EventFilter
-//
-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;
- ////}
- ////if ( RegisterHotKey( window->winId(), 778, MOD_WIN, VK_END ) ) {
- //// qDebug() << "FaceApp::SetupEventFilter says: RegisterHotKey END =" << VK_END;
- ////}
- ////
- ////QAbstractEventDispatcher *evtdis = QAbstractEventDispatcher::instance();
- ////if (evtdis != NULL) {
- //// qDebug() << "FaceApp::SetupEventFilter says: EventDispatcher found!";
- ////}
-
-}
\ No newline at end of file |