csmsapp.cpp

来自「可以在symbian S60 3rd手机平台实现短信发送功能」· C++ 代码 · 共 53 行

CPP
53
字号
/* Copyright (c) 2003, Nokia. All rights reserved */

// INCLUDE FILES
#include "CSmsApp.h"
#include "CSmsDocument.h"

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

// -----------------------------------------------------------------------------
// CSmsApp::AppDllUid()
// Returns application UID.
// -----------------------------------------------------------------------------
//
TUid CSmsApp::AppDllUid() const
    {
    return KUidSMS;
    }

// -----------------------------------------------------------------------------
// CSmsApp::CreateDocumentL()
// Creates CSmsDocument object.
// -----------------------------------------------------------------------------
//
CApaDocument* CSmsApp::CreateDocumentL()
    {
    return CSmsDocument::NewL( *this );
    }

// ========================== OTHER EXPORTED FUNCTIONS =========================

// -----------------------------------------------------------------------------
// NewApplication()
// Constructs CSmsApp.
// -----------------------------------------------------------------------------
//
EXPORT_C CApaApplication* NewApplication()
    {
    return new CSmsApp;
    }

// -----------------------------------------------------------------------------
// E32Dll()
// Entry point function for Symbian Apps.
// -----------------------------------------------------------------------------
//
GLDEF_C TInt E32Dll( TDllReason )
    {
    return KErrNone;
    }

// End of File

⌨️ 快捷键说明

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