summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/faceapp.h
diff options
context:
space:
mode:
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