rtxapp.cpp

来自「symbian系统」· C++ 代码 · 共 67 行

CPP
67
字号
/*
* ============================================================================
*  Name     : CRTxApp from RTxApp.cpp
*  Part of  : RTx
*  Created  : 2003. 08. 15. by  (V) - Forum Nokia 
*  Implementation notes:
*
*     
*  Version  :
*  Copyright: Forum Nokia
* ============================================================================
*/

// INCLUDE FILES
#include    "RTxApp.h"
#include    "RTxDocument.h"

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

// ---------------------------------------------------------
// CRTxApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CRTxApp::AppDllUid() const
    {
    return KUidRTx;
    }

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

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

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