helpergeniusdocument.h

来自「个人手机助理套件:包含1、记事本(备忘录)、名片夹、名片夹的上传下载(异地备份)」· C头文件 代码 · 共 79 行

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

#ifndef __HELPERGENIUS_DOCUMENT_H__
#define __HELPERGENIUS_DOCUMENT_H__


#include <akndoc.h>

class CHelperGeniusAppUi;
class CEikApplication;


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

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

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

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

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

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


#endif // __HELPERGENIUS_DOCUMENT_H__

⌨️ 快捷键说明

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