securitydialogs/AutolockSrv/src/keycapturingapplication.h
author William Roberts <williamr@symbian.org>
Fri, 11 Jun 2010 16:26:34 +0100
branchGCC_SURGE
changeset 23 554daf08973d
parent 17 8957df7b0072
permissions -rw-r--r--
Branch for GCC_SURGE fixes

#ifndef KEYCAPTURINGAPPLICATION_H
#define KEYCAPTURINGAPPLICATION_H

#include <HbApplication>

class KeyCapturingApplication : public HbApplication
{

    Q_OBJECT
    
signals:

    void capturedKeyEvent();
 
public:
    
    KeyCapturingApplication(int &argc, char *argv[], int keyCode);
    ~KeyCapturingApplication();
    virtual bool symbianEventFilter(const QSymbianEvent *event);
    
private:

    int mKeyCode;
    int mKeyCaptureHandle;
    
};

#endif // KEYCAPTURINGAPPLICATION_H