smsexampleapp.cpp

来自「symbian平台」· C++ 代码 · 共 66 行

CPP
66
字号
/* ============================================================================
*  Name     : CSMSExampleApp from SMSExampleApp.h
*  Part of  : SMSExample
*  Created  : 08.02.2005 by Forum Nokia
*  Implementation notes:
*
*     Initial content was generated by Series 60 Application Wizard.
*  Version  : 1.0 
*  Copyright: Nokia Corporation
* ============================================================================
*/

// INCLUDE FILES
#include    "SMSExampleApp.h"
#include    "SMSExampleDocument.h"

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

// ---------------------------------------------------------
// CSMSExampleApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CSMSExampleApp::AppDllUid() const
    {
    return KUidSMSExample;
    }

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

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

// ---------------------------------------------------------
// 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 + -
显示快捷键?