eventqueue.h
来自「symbian,使用dll服务捕获按键,比设置优先级更能提高按键响应.」· C头文件 代码 · 共 37 行
H
37 行
#ifndef __EVENTQUEUE_H__
#define __EVENTQUEUE_H__
#include <e32msgqueue.h>
#include <e32base.h>
class MEventQueue
{
public:
virtual void EventNotify(TInt& aScanCode)=0;
};
class CEventQueue: public CActive
{
public:
static CEventQueue* NewL(MEventQueue& aNotify);
~CEventQueue();
public:
void RunL();
TInt RunError();
void DoCancel();
public:
void GetEvent();
void SendEvent();
private:
CEventQueue(MEventQueue& aNotify);
void ConstructL();
private:
MEventQueue& iEventNotify;
RMsgQueueBase iMsgQueue;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?