calculate24appui.h

来自「这是一个基于symbian操作系统的速算24游戏」· C头文件 代码 · 共 72 行

H
72
字号
/* 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 + =
减小字号Ctrl + -
显示快捷键?