📄 m3uiq2active.h
字号:
/*
* Copyright (c) 2007,苏州丰达
* All rights reserved.
* 版权所有(C)2007-2008 苏州丰达
* 公司地址:中国,江苏省苏州市
* 网址:http://www.
*
* 文件名称:CM3UIQ2AppUi.cpp
* 摘 要:
*
* 产品版本:彩视 1.0
*
* 作 者:司治国
* 创建日期:2008.1.22
* 负责人:xxxxx
*
* 修改者:司治国
* 修改日期:2008.1.17
*
* 编译器或环境等描述:uiqsdk2.1
* 适用于VC2003+symbian 7.x的环境开发。
*
**/
#ifndef M3UIQ2ACTIVE_H
#define M3UIQ2ACTIVE_H
#include <e32base.h>
class MImageHandlerCallback
{
public:
/**
* 操作结束
* @param TInt aError
* @Return void
**/
virtual void OperationComplete(TInt aError) = 0;
};
class CM3UIQ2Active : public CActive
{
public:
/**
* 二步构造
**/
static CM3UIQ2Active *NewL(MImageHandlerCallback *aCallBack);
// C++ constructor
CM3UIQ2Active();
// Second-phase constructor
void ConstructL(MImageHandlerCallback *aCallBack);
// Cancel and destroy
~CM3UIQ2Active();
public: // New functions
// Function for making the initial request
void StartL(TTimeIntervalMicroSeconds32 aDelay);
private: // From CActive
// Handle completion
void RunL();
// How to cancel me
void DoCancel();
// Override to handle leaves from RunL(). Default implementation causes
// the active scheduler to panic.
//void RunError(TInt aError);
private:
enum TM3UIQ2ActiveState
{
EUninitialized, // Uninitialized
EInitialized, // Initalized
EError // Error condition
};
private:
TInt iState; // State of the active object
RTimer iTimer; // Provides async timing service
TInt iNums;
MImageHandlerCallback *iCallBack;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -