summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/FaceApp.h
diff options
context:
space:
mode:
Diffstat (limited to 'FaceTrackNoIR/FaceApp.h')
-rw-r--r--FaceTrackNoIR/FaceApp.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/FaceTrackNoIR/FaceApp.h b/FaceTrackNoIR/FaceApp.h
new file mode 100644
index 00000000..4edd3227
--- /dev/null
+++ b/FaceTrackNoIR/FaceApp.h
@@ -0,0 +1,24 @@
+#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;
+};
+
+#endif // FACEAPP_H