calculate24document.h

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

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

#ifndef __CALCULATE24_DOCUMENT_H__
#define __CALCULATE24_DOCUMENT_H__


#include <akndoc.h>

class CCalculate24AppUi;
class CEikApplication;


/*! 
  @class CCalculate24Document
  
  @discussion An instance of class CCalculate24Document is the Document part of the AVKON
  application framework for the Calculate24 example application
  */
class CCalculate24Document : public CAknDocument
    {
public:

/*!
  @function NewL
  
  @discussion Construct a CCalculate24Document for the AVKON application aApp 
  using two phase construction, and return a pointer to the created object
  @param aApp Application creating this document
  @result A pointer to the created instance of CCalculate24Document
  */
    static CCalculate24Document* NewL(CEikApplication& aApp);

/*!
  @function NewLC
  
  @discussion Construct a CCalculate24Document for the AVKON application aApp 
  using two phase construction, and return a pointer to the created object
  @param aApp Application creating this document
  @result A pointer to the created instance of CCalculate24Document
  */
    static CCalculate24Document* NewLC(CEikApplication& aApp);

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

public: // from CAknDocument
/*!
  @function CreateAppUiL 
  
  @discussion Create a CCalculate24AppUi object and return a pointer to it
  @result A pointer to the created instance of the AppUi created
  */
    CEikAppUi* CreateAppUiL();

private:

/*!
  @function ConstructL
  
  @discussion Perform the second phase construction of a CCalculate24Document object
  */
    void ConstructL();

/*!
  @function CCalculate24Document
  
  @discussion Perform the first phase of two phase construction 
  @param aApp Application creating this document
  */
    CCalculate24Document(CEikApplication& aApp);
    };


#endif // __CALCULATE24_DOCUMENT_H__

⌨️ 快捷键说明

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