📄 calculate24appui.h
字号:
/* Copyright (c) 2005, Nokia. All rights reserved */
#ifndef __CALCULATE24_APPUI_H__
#define __CALCULATE24_APPUI_H__
#include <aknappui.h>
class CCalculate24AppView;
/*!
@class CCalculate24AppUi
@discussion An instance of class CCalculate24AppUi is the UserInterface part of the AVKON
application framework for the Calculate24 example application
*/
class CCalculate24AppUi : public CAknAppUi
{
public:
/*!
@function ConstructL
@discussion Perform the second phase construction of a CCalculate24AppUi object
this needs to be public due to the way the framework constructs the AppUi
*/
void ConstructL();
/*!
@function CCalculate24AppUi
@discussion Perform the first phase of two phase construction.
This needs to be public due to the way the framework constructs the AppUi
*/
CCalculate24AppUi();
/*!
@function ~CCalculate24AppUi
@discussion Destroy the object
*/
~CCalculate24AppUi();
public: // from CAknAppUi
/*!
@function HandleCommandL
@discussion Handle user menu selections
@param aCommand the enumerated code for the option selected
*/
void HandleCommandL(TInt aCommand);
TBool GetInputNumber(TInt &num);
void CALCULATE();
private:
/*! @var iAppView The application view */
CCalculate24AppView* iAppView;
public:
TName iBuffer;
int iTotal;
int iNum1;
int iNum2;
int iNum3;
int iNum4;
TBool bIsOk;
void *iMallocBuffer;
};
#endif // __CALCULATE24_APPUI_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -