svexserviceappdocument.h

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

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

#ifndef __SVEXSERVICEAPP_DOCUMENT_H__
#define __SVEXSERVICEAPP_DOCUMENT_H__


#include <akndoc.h>

// Forward references
class CSvexServiceAppAppUi;
class CEikApplication;


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

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

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

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

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

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

    };


#endif // __SVEXSERVICEAPP_DOCUMENT_H__

⌨️ 快捷键说明

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