smssendtestdocument.cpp
来自「在s60 v3版本中的发送短信的示例」· C++ 代码 · 共 56 行
CPP
56 行
/*
============================================================================
Name : CSmsSendTestDocument from SmsSendTestDocument.h
Author :
Version :
Copyright : Your copyright notice
Description : CSmsSendTestDocument implementation
============================================================================
*/
// INCLUDE FILES
#include "SmsSendTestDocument.h"
#include "SmsSendTestAppui.h"
// ================= MEMBER FUNCTIONS =======================
// constructor
CSmsSendTestDocument::CSmsSendTestDocument(CEikApplication& aApp)
: CAknDocument(aApp)
{
}
// destructor
CSmsSendTestDocument::~CSmsSendTestDocument()
{
}
// EPOC default constructor can leave.
void CSmsSendTestDocument::ConstructL()
{
}
// Two-phased constructor.
CSmsSendTestDocument* CSmsSendTestDocument::NewL(
CEikApplication& aApp) // CSmsSendTestApp reference
{
CSmsSendTestDocument* self = new (ELeave) CSmsSendTestDocument( aApp );
CleanupStack::PushL( self );
self->ConstructL();
CleanupStack::Pop();
return self;
}
// ----------------------------------------------------
// CSmsSendTestDocument::CreateAppUiL()
// constructs CSmsSendTestAppUi
// ----------------------------------------------------
//
CEikAppUi* CSmsSendTestDocument::CreateAppUiL()
{
return new (ELeave) CSmsSendTestAppUi;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?