ldmti_12document.h

来自「自己做的一个练习的小例子」· C头文件 代码 · 共 79 行

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

#ifndef __LDMTI_12_DOCUMENT_H__
#define __LDMTI_12_DOCUMENT_H__


#include <akndoc.h>

class CLDMTI_12AppUi;
class CEikApplication;


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

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

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

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

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

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


#endif // __LDMTI_12_DOCUMENT_H__

⌨️ 快捷键说明

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