svexopenappdocument.h

来自「演示如何使用的symbian v9服务器应用框架」· C头文件 代码 · 共 81 行

H
81
字号
// Copyright (c) 2006 Murray Read, All rights reserved

#ifndef __SVEXOPENAPP_DOCUMENT_H__
#define __SVEXOPENAPP_DOCUMENT_H__


#include <akndoc.h>

// Forward references
class CSvexOpenAppAppUi;
class CEikApplication;


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

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

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

/*!
  @function ~CSvexOpenAppDocument
  
  @discussion Destroy the object and release all memory objects
  */
    ~CSvexOpenAppDocument();

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

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

    };


#endif // __SVEXOPENAPP_DOCUMENT_H__

⌨️ 快捷键说明

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