taskmanagerapp.cpp

来自「HTTP示例」· C++ 代码 · 共 78 行

CPP
78
字号
/*
* ============================================================================
*  Name     : CTaskManagerApp from TaskManagerApp.cpp
*  Part of  : TaskManager
*  Created  : 03/13/2005 by Forum Nokia
*  Version  : 1.2
*  Copyright: Nokia Corporation
* ============================================================================
*/

// INCLUDE FILES
#include    "TaskManagerApp.h"
#include    "TaskManagerDocument.h"
#ifdef __SERIES60_30__
#include <eikstart.h>
#endif

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

// ---------------------------------------------------------
// CTaskManagerApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CTaskManagerApp::AppDllUid() const
    {
    return KUidTaskManagerApp;
    }

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

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

// ---------------------------------------------------------
// E32Main()
// Entry point function for EPOC Application
// Returns: EikStart::RunApplication: NewApplication
// ---------------------------------------------------------

#ifdef __SERIES60_30__
GLDEF_C TInt E32Main()
{
return EikStart::RunApplication( NewApplication );
}
# else
// ---------------------------------------------------------
// E32Dll(TDllReason) 
// Entry point function for Symbian Apps
// Returns: KErrNone: No error
// ---------------------------------------------------------
GLDEF_C TInt E32Dll( TDllReason )
{
return KErrNone;
}
#endif
// End of File  

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?