serviceexplorerappdocument.h

来自「symbian下读取服务的程序」· C头文件 代码 · 共 81 行

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

#ifndef __SERVICEEXPLORERAPP_DOCUMENT_H__
#define __SERVICEEXPLORERAPP_DOCUMENT_H__


#include <akndoc.h>

// Forward references
class CServiceExplorerAppAppUi;
class CEikApplication;


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

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

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

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

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

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

    };


#endif // __SERVICEEXPLORERAPP_DOCUMENT_H__

⌨️ 快捷键说明

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