⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 smssendtestdocument.cpp

📁 在s60 v3版本中的发送短信的示例
💻 CPP
字号:
/*
============================================================================
 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -