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

📄 mtmsexampledocument.cpp

📁 symbian s60 第3版下的短信发送程序,实现了(发送,接收等功能)
💻 CPP
字号:
/*
============================================================================
 Name        : MtmsExampleDocument.cpp
 Author      : Lion
 Copyright   : Your copyright notice
 Description : CMtmsExampleDocument implementation
============================================================================
*/


// INCLUDE FILES
#include "MtmsExampleAppUi.h"
#include "MtmsExampleDocument.h"

// ============================ MEMBER FUNCTIONS ===============================

// -----------------------------------------------------------------------------
// CMtmsExampleDocument::NewL()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CMtmsExampleDocument* CMtmsExampleDocument::NewL( CEikApplication&
                                                          aApp )
    {
    CMtmsExampleDocument* self = NewLC( aApp );
    CleanupStack::Pop( self );
    return self;
    }

// -----------------------------------------------------------------------------
// CMtmsExampleDocument::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CMtmsExampleDocument* CMtmsExampleDocument::NewLC( CEikApplication&
                                                           aApp )
    {
    CMtmsExampleDocument* self =
        new ( ELeave ) CMtmsExampleDocument( aApp );

    CleanupStack::PushL( self );
    self->ConstructL();
    return self;
    }

// -----------------------------------------------------------------------------
// CMtmsExampleDocument::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CMtmsExampleDocument::ConstructL()
    {
    // No implementation required
    }

// -----------------------------------------------------------------------------
// CMtmsExampleDocument::CMtmsExampleDocument()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CMtmsExampleDocument::CMtmsExampleDocument( CEikApplication& aApp )
    : CAknDocument( aApp )
    {
    // No implementation required
    }

// ---------------------------------------------------------------------------
// CMtmsExampleDocument::~CMtmsExampleDocument()
// Destructor.
// ---------------------------------------------------------------------------
//
CMtmsExampleDocument::~CMtmsExampleDocument()
    {
    // No implementation required
    }

// ---------------------------------------------------------------------------
// CMtmsExampleDocument::CreateAppUiL()
// Constructs CreateAppUi.
// ---------------------------------------------------------------------------
//
CEikAppUi* CMtmsExampleDocument::CreateAppUiL()
    {
    // Create the application user interface, and return a pointer to it;
    // the framework takes ownership of this object
    return ( static_cast <CEikAppUi*> ( new ( ELeave )
                                        CMtmsExampleAppUi ) );
    }

// End of File

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -