summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/FaceApp.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-03-22 20:48:17 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-03-22 20:48:17 +0100
commit3089c4bbc10e98d18f43e8a70e7a3d0c0eaf0900 (patch)
treec6f985472c05372417ecd4a861f6c2f346b63fd3 /facetracknoir/FaceApp.h
parent3e1515e88c6f750c193ed9b9908d8a9c09e5b025 (diff)
Downcase. PLEASE TURN OFF IGNORING CASE IN GIT CONFIG!!!
.git/config: [core] ignorecase = false
Diffstat (limited to 'facetracknoir/FaceApp.h')
-rw-r--r--facetracknoir/FaceApp.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/facetracknoir/FaceApp.h b/facetracknoir/FaceApp.h
new file mode 100644
index 00000000..39fd4b2f
--- /dev/null
+++ b/facetracknoir/FaceApp.h
@@ -0,0 +1,27 @@
+#ifndef FACEAPP_H
+#define FACEAPP_H
+
+#include <QApplication>
+#include "FaceTrackNoIR.h"
+
+class FaceApp : public QApplication
+{
+ Q_OBJECT
+public:
+ FaceApp( int &argc, char **argv ) : QApplication( argc, argv ) {}
+ ~FaceApp() {}
+
+ void SetupEventFilter( FaceTrackNoIR *window );
+
+protected:
+ bool winEventFilter( MSG * msg, long * result );
+
+private:
+ FaceTrackNoIR *mainWindow;
+ int msgID_FTClient;
+ int msgID_FTIR_Register;
+ int msgID_FTIR_UnRegister;
+ int msgID_FilterSettingChanged;
+};
+
+#endif // FACEAPP_H