securitydialogs/AutolockSrv/src/keycapturingapplication.h
changeset 17 8957df7b0072
equal deleted inserted replaced
15:318c4eab2439 17:8957df7b0072
       
     1 #ifndef KEYCAPTURINGAPPLICATION_H
       
     2 #define KEYCAPTURINGAPPLICATION_H
       
     3 
       
     4 #include <HbApplication>
       
     5 
       
     6 class KeyCapturingApplication : public HbApplication
       
     7 {
       
     8 
       
     9     Q_OBJECT
       
    10     
       
    11 signals:
       
    12 
       
    13     void capturedKeyEvent();
       
    14  
       
    15 public:
       
    16     
       
    17     KeyCapturingApplication(int &argc, char *argv[], int keyCode);
       
    18     ~KeyCapturingApplication();
       
    19     virtual bool symbianEventFilter(const QSymbianEvent *event);
       
    20     
       
    21 private:
       
    22 
       
    23     int mKeyCode;
       
    24     int mKeyCaptureHandle;
       
    25     
       
    26 };
       
    27 
       
    28 #endif // KEYCAPTURINGAPPLICATION_H