diff options
Diffstat (limited to 'facetracknoir/FaceApp.h')
-rw-r--r-- | facetracknoir/FaceApp.h | 27 |
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
|