powerresmandocument.cpp

来自「基于Symbian平台下随心所欲控制屏幕的灯亮熄.在观看视频和发短信时这一点非常」· C++ 代码 · 共 61 行

CPP
61
字号
/**
*
* Definition of CPowerResManDocument
*
* Copyright (c) 2004 Nokia Corporation
* version 2.0
*/

// INCLUDE FILES

// Class include
#include "PowerResManDocument.h"

// User includes
#include "PowerResManAppUi.h"	// CPowerResManAppUi

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


// Constructs the document for aApp
CPowerResManDocument::CPowerResManDocument(CEikApplication& aApp)
:CAknDocument(aApp)
	{
	}


// Symbian OS 2nd phase constructor.
void CPowerResManDocument::ConstructL()
	{
	}


// Symbian OS 2 phase constructor.
// Constructs the CPowerResManDocument using the constructor and the ConstructL
// method.
CPowerResManDocument* CPowerResManDocument::NewL(CEikApplication& aApp)
	{
	CPowerResManDocument* self = new (ELeave) CPowerResManDocument(aApp);
	CleanupStack::PushL(self);
	self->ConstructL();
	CleanupStack::Pop(self);
	return self;
	}


// Destructor.
// Releases our state variable and closes the connection to the System Agent.
CPowerResManDocument::~CPowerResManDocument()
	{
	}



// Creates the AppUi for this document.
CEikAppUi* CPowerResManDocument::CreateAppUiL()
	{
	return new (ELeave) CPowerResManAppUi;
	}

// End of File

⌨️ 快捷键说明

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