countdownapp.cpp

来自「《基于symbian手机开发与应用》一书的源代码」· C++ 代码 · 共 76 行

CPP
76
字号
/*
* ============================================================================
*  Name     : CCountDownApp from CountDownApp.cpp
*  Part of  : CountDown
*  Created  : 2005-8-29 by 
*  Implementation notes:
*
*     Initial content was generated by Series 60 AppWizard.
*  Version  :
*  Copyright: 
* ============================================================================
*/

// INCLUDE FILES
#include    "CountDownApp.h"
#include    "CountDownDocument.h"

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

// ---------------------------------------------------------
// CCountDownApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CCountDownApp::AppDllUid() const
    {
    return KUidCountDown;
    }

// ---------------------------------------------------------
// CDictionaryStore* CCountDownApp::OpenIniFileLC(RFs& aFs) const
// overrides CAknApplication::OpenIniFileLC to enable INI file support
// ---------------------------------------------------------
//
CDictionaryStore* CCountDownApp::OpenIniFileLC(RFs& aFs) const
{
    return CEikApplication::OpenIniFileLC(aFs);
}
   
// ---------------------------------------------------------
// CCountDownApp::CreateDocumentL()
// Creates CCountDownDocument object
// ---------------------------------------------------------
//
CApaDocument* CCountDownApp::CreateDocumentL()
    {
    return CCountDownDocument::NewL( *this );
    }

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

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