sendasexampleapp.cpp

来自「这是一个自己开发的发送短信的程序」· C++ 代码 · 共 62 行

CPP
62
字号
/**
*
* @brief Definition of CSendAsExampleApplication
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/

// INCLUDE FILES
#include    "SendAsExampleApp.h"
#include    "SendAsExampleDocument.h"

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

// ---------------------------------------------------------
// CSendAsExampleApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CSendAsExampleApp::AppDllUid() const
    {
    return KUidSendAsExample;
    }


// ---------------------------------------------------------
// CSendAsExampleApp::CreateDocumentL()
// Creates CSendAsExampleDocument object
// ---------------------------------------------------------
//
CApaDocument* CSendAsExampleApp::CreateDocumentL()
    {
    return CSendAsExampleDocument::NewL( *this );
    }

// ================= OTHER EXPORTED FUNCTIONS ==============
//
// ---------------------------------------------------------
// NewApplication()
// Constructs CSendAsExampleApp
// Returns: created application object
// ---------------------------------------------------------
//
EXPORT_C CApaApplication* NewApplication()
    {
    return new CSendAsExampleApp;
    }

// ---------------------------------------------------------
// E32Dll(TDllReason)
// Entry point function for EPOC Apps
// Returns: KErrNone: No error
// ---------------------------------------------------------
//
GLDEF_C TInt E32Dll( TDllReason )
    {
    return KErrNone;
    }

// End of File

⌨️ 快捷键说明

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