cmmslapp.cpp

来自「The MMS List example demonstrates how to」· C++ 代码 · 共 54 行

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

// INCLUDE FILES
#include    "CMmslApp.h"
#include    "CMmslDocument.h"

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

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

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

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

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

// End of File

⌨️ 快捷键说明

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