stkapp.cpp

来自「Mobile STK for Symbian OS V0.1」· C++ 代码 · 共 67 行

CPP
67
字号
/* ============================================================================
*  Name     : CSTKApp from STKApp.cpp
*  Part of  : STK
*  Created  : 07.02.2006 by Georg Essl
* 
*  Implementation notes:
*
*     Initial content was generated by Series 60 Application Wizard.
*  Version  :
*  Copyright: DTL & TU-Berlin
* ============================================================================
*/

// INCLUDE FILES
#include    "STKApp.h"
#include    "STKDocument.h"

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

// ---------------------------------------------------------
// CSTKApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CSTKApp::AppDllUid() const
    {
    return KUidSTK;
    }

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

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

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