titlepanedocument.cpp
来自「详细演示了symbian中标题面板的设置程序。很使用的程序」· C++ 代码 · 共 63 行
CPP
63 行
/**
*
* @brief Definition of CTitlePaneDocument
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/
// INCLUDE FILES
// Class include
#include "TitlePaneDocument.h"
// User includes
#include "TitlePaneAppUi.h" // CTitlePaneAppUi
// ================= MEMBER FUNCTIONS =======================
/**
* Constructs the document for aApp
*
* @param aApp for which the document is constructed
*/
CTitlePaneDocument::CTitlePaneDocument(CEikApplication& aApp)
: CAknDocument(aApp)
{
}
/**
* Symbian OS 2nd phase constructor.
* This is an empty implementation.
*/
void CTitlePaneDocument::ConstructL()
{
}
/**
* Symbian OS 2 phase constructor.
* Constructs the CTitlePaneDocument using the constructor and the ConstructL
* method.
* @param aApp for which the CTitlePaneDocument is constructed
* @return The newly constructed CTitlePaneDocument
*/
CTitlePaneDocument* CTitlePaneDocument::NewL(CEikApplication& aApp)
{
CTitlePaneDocument* self = new (ELeave) CTitlePaneDocument(aApp);
CleanupStack::PushL(self);
self->ConstructL();
CleanupStack::Pop(self);
return self;
}
/**
* Creates the AppUi for this document.
* @return The newly constructed AppUi
*/
CEikAppUi* CTitlePaneDocument::CreateAppUiL()
{
return new (ELeave) CTitlePaneAppUi;
}
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?