⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 threaddocument.h

📁 这是Symbian平台实现多线程的实例.对初学者非常有帮助.
💻 H
字号:
/*
* ============================================================================
*  Name     : CThreadDocument from CThreadDocument.h
*  Part of  : Thread
*  Created  : 04.02.2005 by Forum Nokia
*  Description:
*       Declares document for application.
*  Version  : 1.0
*  Copyright: Nokia Corporation
* ============================================================================
*/

#ifndef THREAD_DOCUMENT_H
#define THREAD_DOCUMENT_H

// INCLUDES
#include <akndoc.h>

// FORWARD DECLARATIONS
class CThreadAppUi;
class CEikApplication;

// CLASS DECLARATION

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

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

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

/*!
* ~CThreadAppView()
*  
*  discussion Destroy the object
*/
    ~CThreadDocument();

public: // from CAknDocument
/*!
*  CreateAppUiL() 
*  
*  discussion Create a CThreadAppUi object and return a pointer to it
*  result A pointer to the created instance of the AppUi created
*/
    CEikAppUi* CreateAppUiL();

private: // Basic two-phase EPOC constructors

/*!
*  ConstructL()
*  
*  discussion Perform the second phase construction of a CThreadDocument object
*/
    void ConstructL();

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

#endif // THREAD_DOCUMENT_H

⌨️ 快捷键说明

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