imagetestdocument.cpp

来自「在Symbian OS S60 3rd上面」· C++ 代码 · 共 86 行

CPP
86
字号
/*
 ============================================================================
 Name		: ImageTestDocument.cpp
 Author	  : 
 Copyright   : Your copyright notice
 Description : CImageTestDocument implementation
 ============================================================================
 */

// INCLUDE FILES
#include "ImageTestAppUi.h"
#include "ImageTestDocument.h"

// ============================ MEMBER FUNCTIONS ===============================

// -----------------------------------------------------------------------------
// CImageTestDocument::NewL()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CImageTestDocument* CImageTestDocument::NewL(CEikApplication& aApp)
	{
	CImageTestDocument* self = NewLC(aApp);
	CleanupStack::Pop(self);
	return self;
	}

// -----------------------------------------------------------------------------
// CImageTestDocument::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CImageTestDocument* CImageTestDocument::NewLC(CEikApplication& aApp)
	{
	CImageTestDocument* self = new ( ELeave ) CImageTestDocument( aApp );

	CleanupStack::PushL(self);
	self->ConstructL();
	return self;
	}

// -----------------------------------------------------------------------------
// CImageTestDocument::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CImageTestDocument::ConstructL()
	{
	// No implementation required
	}

// -----------------------------------------------------------------------------
// CImageTestDocument::CImageTestDocument()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CImageTestDocument::CImageTestDocument(CEikApplication& aApp) :
	CAknDocument(aApp)
	{
	// No implementation required
	}

// ---------------------------------------------------------------------------
// CImageTestDocument::~CImageTestDocument()
// Destructor.
// ---------------------------------------------------------------------------
//
CImageTestDocument::~CImageTestDocument()
	{
	// No implementation required
	}

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

// End of File

⌨️ 快捷键说明

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