taskmgrdocument.h

来自「基于Symbian s60 2nd 下的任务管理器程序。」· C头文件 代码 · 共 80 行

H
80
字号
/* Copyright (c) 2003, Nokia. All rights reserved */

#ifndef __TASKMGR_DOCUMENT_H__
#define __TASKMGR_DOCUMENT_H__


#include <akndoc.h>

class CtaskmgrAppUi;
class CEikApplication;


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

/*!
  @function NewL
  
  @discussion Construct a CtaskmgrDocument for the AVKON application aApp 
  using two phase construction, and return a pointer to the created object
  @param aApp The application creating this document
  @result A pointer to the created instance of CtaskmgrDocument
  */
    static CtaskmgrDocument* NewL(CEikApplication& aApp);

/*!
  @function NewLC
  
  @discussion Construct a CtaskmgrDocument for the AVKON application aApp 
  using two phase construction, and return a pointer to the created object
  @param aApp The application creating this document
  @result A pointer to the created instance of CtaskmgrDocument
  */
    static CtaskmgrDocument* NewLC(CEikApplication& aApp);

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

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

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

    };


#endif // __TASKMGR_DOCUMENT_H__

⌨️ 快捷键说明

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