summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/FaceApp.h
blob: 39fd4b2fea565834ceaddb70608e1deb50771705 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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