createdocument.h

来自「symbian 可在收件箱生成5000字超长短信!」· C头文件 代码 · 共 79 行

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

#ifndef __CREATE_DOCUMENT_H__
#define __CREATE_DOCUMENT_H__


#include <akndoc.h>

class CCreateAppUi;
class CEikApplication;


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

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

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

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

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

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


#endif // __CREATE_DOCUMENT_H__

⌨️ 快捷键说明

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