ldleniefeilongdocument.h

来自「symbian 视图切换源代码,很有学习价值」· C头文件 代码 · 共 79 行

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

#ifndef __LDLENIEFEILONG_DOCUMENT_H__
#define __LDLENIEFEILONG_DOCUMENT_H__


#include <akndoc.h>

class CLDLENieFeiLongAppUi;
class CEikApplication;


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

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

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

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

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

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


#endif // __LDLENIEFEILONG_DOCUMENT_H__

⌨️ 快捷键说明

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