ggballdocument.h

来自「一个跳跳球的游戏」· C头文件 代码 · 共 79 行

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

#ifndef __GGBALL_DOCUMENT_H__
#define __GGBALL_DOCUMENT_H__


#include <akndoc.h>

class CGGBallAppUi;
class CEikApplication;


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

/*!
  @function NewL
  
  @discussion Construct a CGGBallDocument 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 CGGBallDocument
  */
    static CGGBallDocument* NewL(CEikApplication& aApp);

/*!
  @function NewLC
  
  @discussion Construct a CGGBallDocument 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 CGGBallDocument
  */
    static CGGBallDocument* NewLC(CEikApplication& aApp);

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

public: // from CAknDocument
/*!
  @function CreateAppUiL 
  
  @discussion Create a CGGBallAppUi 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 CGGBallDocument object
  */
    void ConstructL();

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


#endif // __GGBALL_DOCUMENT_H__

⌨️ 快捷键说明

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