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

📄 threadaodocument.cpp

📁 Series_60_DP_1_0_2_0_Thread_And_Active_Objects_Example_v1_0 Symbian os S60线程与活动对象实例
💻 CPP
字号:
/*
* ============================================================================
*  Name     : CThreadAODocument from ThreadAODocument.h
*  Part of  : ThreadAO
*  Created  : 12.1.2005 by Forum Nokia
*  Version  : 1.0
*  Copyright: Nokia Corporation
* ============================================================================
*/

// INCLUDES
#include "ThreadAOAppUi.h"
#include "ThreadAODocument.h"
#include <aknnotewrappers.h> 

CThreadAODocument* CThreadAODocument::NewL(CEikApplication& aApp)
    {
    CThreadAODocument* self = NewLC(aApp);
    CleanupStack::Pop(self);
    return self;
    }

CThreadAODocument* CThreadAODocument::NewLC(CEikApplication& aApp)
    {
    CThreadAODocument* self = new (ELeave) CThreadAODocument(aApp);
    CleanupStack::PushL(self);
    self->ConstructL();
    return self;
    }

// ----------------------------------------------------------------------------
// CThreadAODocument::ConstructL()
//
// Standard Symbian OS 2nd phase constructor
// ----------------------------------------------------------------------------
void CThreadAODocument::ConstructL()
    {
	// No implementation required
    }    

// ----------------------------------------------------------------------------
// CThreadAODocument::CThreadAODocument(CEikApplication& aApp) 
//   
// Constructor.
// ----------------------------------------------------------------------------
CThreadAODocument::CThreadAODocument(CEikApplication& aApp) : CAknDocument(aApp) 
    {
    }

// ----------------------------------------------------------------------------
// CThreadAODocument::~CThreadAODocument()
//   
// Destructor.
// ----------------------------------------------------------------------------
CThreadAODocument::~CThreadAODocument()
    {
    }

// ----------------------------------------------------------------------------
// CThreadAODocument::CreateAppUiL()
//
// Constructs CThreadAOAppUi.
// ----------------------------------------------------------------------------
CEikAppUi* CThreadAODocument::CreateAppUiL()
    {
    // Create the application user interface, and return a pointer to it;
    // the framework takes ownership of this object
	return (static_cast <CEikAppUi*> (new (ELeave) CThreadAOAppUi)); 
    }

⌨️ 快捷键说明

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