ctrlpanesapp.cpp

来自「《基于Symbian OS的手机开发与应用实践》这本书的配套源码。」· C++ 代码 · 共 67 行

CPP
67
字号
/* ============================================================================
*  Name     : CCtrlPanesApp from CtrlPanesApp.cpp
*  Part of  : CtrlPanes
*  Created  : 14.05.2006 by ToBeReplacedByAuthor
* 
*  Implementation notes:
*
*     Initial content was generated by Series 60 Application Wizard.
*  Version  :
*  Copyright: ToBeReplacedByCopyright
* ============================================================================
*/

// INCLUDE FILES
#include    "CtrlPanesApp.h"
#include    "CtrlPanesDocument.h"

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

// ---------------------------------------------------------
// CCtrlPanesApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CCtrlPanesApp::AppDllUid() const
    {
    return KUidCtrlPanes;
    }

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

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

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