filefetcherdocument.cpp

来自「nokia symbian File_Fetching」· C++ 代码 · 共 82 行

CPP
82
字号
/*
 * ============================================================================
 *  Name     : FileFetcherDocument.cpp
 *  Part of  : File fetching Example
 *  Created  : 12/9/2003 by Forum Nokia
 *  Implementation notes:
 *
 *     
 *  Version  : 1.0
 *  Copyright: Nokia Corporation
 * ============================================================================
 */


#include "FileFetcherAppUi.h"
#include "FileFetcherDocument.h"

// ----------------------------------------------------------------------------
// CFileFetcherDocument::NewL()
//
// Creates instance of CFileFetcherDocument.
// ----------------------------------------------------------------------------
CFileFetcherDocument* CFileFetcherDocument::NewL(CEikApplication& aApp)
	{
    CFileFetcherDocument* self = NewLC(aApp);
    CleanupStack::Pop(self);
    return self;
	}

// ----------------------------------------------------------------------------
// CFileFetcherDocument::NewLC()
//
// Creates instance of CFileFetcherDocument.
// ----------------------------------------------------------------------------
CFileFetcherDocument* CFileFetcherDocument::NewLC(CEikApplication& aApp)
	{
    CFileFetcherDocument* self = new (ELeave) CFileFetcherDocument(aApp);
    CleanupStack::PushL(self);
    self->ConstructL();
    return self;
	}

// ----------------------------------------------------------------------------
// CFileFetcherDocument::ConstructL()
//
// Second phase construction.
// ----------------------------------------------------------------------------
void CFileFetcherDocument::ConstructL()
	{
	}

// ----------------------------------------------------------------------------
// CFileFetcherDocument::CFileFetcherDocument()
//
// First phase construction.
// ----------------------------------------------------------------------------
CFileFetcherDocument::CFileFetcherDocument(CEikApplication& aApp) 
: CAknDocument(aApp) 
	{
	}

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

// ----------------------------------------------------------------------------
// CFileFetcherDocument::CreateAppUiL()
// 
// Creates the application user interface, and returns a pointer to it;
// the framework takes ownership of this object
// ----------------------------------------------------------------------------
CEikAppUi* CFileFetcherDocument::CreateAppUiL()
	{
	return (static_cast <CEikAppUi*> (new (ELeave) CFileFetcherAppUi)); 
	}

⌨️ 快捷键说明

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