listapp.cpp

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

CPP
67
字号
/*
* ============================================================================
*  Name     : CListApp from ListApp.cpp
*  Part of  : List
*  Created  : 2006-4-15 by LiuLiping
*  Implementation notes:
*
*     Initial content was generated by Series 60 AppWizard.
*  Version  :
*  Copyright: 
* ============================================================================
*/

// INCLUDE FILES
#include    "ListApp.h"
#include    "ListDocument.h"

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

// ---------------------------------------------------------
// CListApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CListApp::AppDllUid() const
    {
    return KUidList;
    }

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

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

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