⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 eventqueue.h

📁 symbian,使用dll服务捕获按键,比设置优先级更能提高按键响应.
💻 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 + -