treedocument.h

来自「symbian 二版本的自定义控件」· C头文件 代码 · 共 79 行

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

#ifndef __TREE_DOCUMENT_H__
#define __TREE_DOCUMENT_H__


#include <akndoc.h>

class CTreeAppUi;
class CEikApplication;


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

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

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

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

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

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


#endif // __TREE_DOCUMENT_H__

⌨️ 快捷键说明

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