summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/xxx_faceapp.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-03-22 21:48:15 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-03-22 21:48:15 +0100
commit4f00c4c74d213a37a4b1a3313e50ce2b4dd51271 (patch)
treef692743cb752c994c05fe2761f83af08aa28d239 /facetracknoir/xxx_faceapp.h
parent5c5ec4b4238996770bfd74ddfc87934ace40bf0f (diff)
finish rename
Diffstat (limited to 'facetracknoir/xxx_faceapp.h')
-rw-r--r--facetracknoir/xxx_faceapp.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/facetracknoir/xxx_faceapp.h b/facetracknoir/xxx_faceapp.h
new file mode 100644
index 00000000..39fd4b2f
--- /dev/null
+++ b/facetracknoir/xxx_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