⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 graphicsdocument.h

📁 该源码主要是用于如何使用CWindowGc 类在手机屏幕上显示位图
💻 H
字号:
/* 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -