summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/FaceApp.h
blob: 75eb6df22c5042ba14a7bbbae013642d671195b5 (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
#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;
};

#endif					//  FACEAPP_H