graphicsdocument.h

来自「该源码主要是用于如何使用CWindowGc 类在手机屏幕上显示位图」· C头文件 代码 · 共 78 行

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

#ifndef __GRAPHICSDOCUMENT_H__
#define __GRAPHICSDOCUMENT_H__


#include <eikdoc.h>

class CGraphicsAppUi;
class CEikApplication;


/*! 
  @class CGraphicsDocument
  
  @discussion An instance of class CGraphicsDocument is the Document part of the AVKON
  application framework for the Graphics example application
  */
class CGraphicsDocument : public CEikDocument
    {
public:

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

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

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

private:

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

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

/*!
  @function CreateAppUiL 
  
  @discussion Create a CGraphicsAppUi object and return a pointer to it
  @result A pointer to the created instance of the AppUi created
  */
    CEikAppUi* CreateAppUiL();
    };


#endif // __GRAPHICSDOCUMENT_H__

⌨️ 快捷键说明

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