📄 eventqueue.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -