calculate24appview.h

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

H
78
字号
/* Copyright (c) 2005, Nokia. All rights reserved */

#ifndef __CALCULATE24_APPVIEW_H__
#define __CALCULATE24_APPVIEW_H__


#include <coecntrl.h>

class CCalculate24AppUi;
/*! 
  @class CCalculate24AppView
  
  @discussion An instance of this class is the Application View object
  for the Calculate24 example application
  */
class CCalculate24AppView : public CCoeControl
    {
public:

/*!
  @function NewL
   
  @discussion Create a CCalculate24AppView object, which will draw itself to aRect
  @param aRect The rectangle this view will be drawn to
  @result A pointer to the created instance of CCalculate24AppView
  */
    static CCalculate24AppView* NewL(const TRect& aRect);

/*!
  @function NewLC
   
  @discussion Create a CCalculate24AppView object, which will draw itself to aRect
  @param aRect The rectangle this view will be drawn to
  @result A pointer to the created instance of CCalculate24AppView
  */
    static CCalculate24AppView* NewLC(const TRect& aRect);


/*!
  @function ~CCalculate24AppView
  
  @discussion Destroy the object
  */
    ~CCalculate24AppView();


public:  // from CCoeControl
/*!
  @function Draw
  
  @discussion Draw this CCalculate24AppView to the screen
  @param aRect The rectangle of this view that needs updating
  */
    void Draw(const TRect& aRect) const;
  

private:

/*!
  @function ConstructL
  
  @discussion  Perform the second phase construction of a CCalculate24AppView object
  @param aRect The rectangle this view will be drawn to
  */
    void ConstructL(const TRect& aRect);

/*!
  @function CCalculate24AppView
  
  @discussion Perform the first phase of two phase construction 
  */
    CCalculate24AppView();
    CCalculate24AppUi *ui;
    };


#endif // __CALCULATE24_APPVIEW_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?