?? csmsdocument.cpp
字號:
/* Copyright (c) 2003, Nokia. All rights reserved */
// INCLUDE FILES
#include "CSmsDocument.h"
#include "CSmsAppUi.h"
// ============================ MEMBER FUNCTIONS ===============================
// -----------------------------------------------------------------------------
// CSmsDocument::CSmsDocument()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CSmsDocument::CSmsDocument( CEikApplication& aApp )
: CAknDocument( aApp )
{
}
// ----------------------------------------------------------
// CSmsDocument::~CSmsDocument()
// Destructor.
// ----------------------------------------------------------
//
CSmsDocument::~CSmsDocument()
{
}
// -----------------------------------------------------------------------------
// CSmsDocument::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CSmsDocument::ConstructL()
{
}
// -----------------------------------------------------------------------------
// CSmsDocument::NewL()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CSmsDocument* CSmsDocument::NewL( CEikApplication& aApp ) // CSmsApp reference
{
CSmsDocument* self = new ( ELeave ) CSmsDocument( aApp );
CleanupStack::PushL( self );
self->ConstructL();
CleanupStack::Pop();
return self;
}
// -----------------------------------------------------------------------------
// CSmsDocument::CreateAppUiL()
// Constructs CSmsAppUi.
// -----------------------------------------------------------------------------
//
CEikAppUi* CSmsDocument::CreateAppUiL()
{
return new ( ELeave ) CSmsAppUi;
}
// End of File
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -