📄 powerresmandocument.cpp
字号:
/**
*
* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -