s_hanim.h
来自「symbian,使用dll服务捕获按键,比设置优先级更能提高按键响应.」· C头文件 代码 · 共 40 行
H
40 行
/* Copyright (c) 2004, Nokia. All rights reserved */
#ifndef __S_H_ANIM_H__
#define __S_H_ANIM_H__
// INCLUDES
#include <w32adll.h>
#include "EventQueue.h"
// CLASS DECLARATION
class CHAnim : public CWindowAnim,public MEventQueue
{
public: // Constructors and destructors
CHAnim();
virtual ~CHAnim();
public: // From CWindowAnim
inline TInt CommandReplyL( TInt aCommand, TAny* aArgs ) { return aCommand; };
inline void Redraw() {};
inline void Animate( TDateTime* aDateTime ) {};
inline void FocusChanged( TBool aState ) {};
void ConstructL( TAny* aArgs, TBool aHasFocus );
void Command( TInt aCommand, TAny* aArgs );
TBool OfferRawEvent( const TRawEvent &aRawEvent );
public: // From MEventQuere
virtual void EventNotify(TInt& aScanCode) ;
private:
CEventQueue* iTestEvent;
TBool iCaptureKey;
};
#endif // __S_H_ANIM_H__
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?