summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/FaceApp.h
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2010-05-25 16:14:36 +0000
committerWim Vriend <facetracknoir@gmail.com>2010-05-25 16:14:36 +0000
commita8f2a29dcc5fac905ef9a1d2305903cbb74b6b7c (patch)
tree0745bcf5563051ed74137fd7250ee0c41f79f47d /FaceTrackNoIR/FaceApp.h
First release Version 1.0.0 of FaceTrackNoIR
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@1 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
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