logexampleapp.cpp

来自「Log Engine的使用」· C++ 代码 · 共 86 行

CPP
86
字号
/* ============================================================================
*  Name     : CLogExampleApp from LogExampleApp.cpp
*  Part of  : LogExample
*  Created  : 26.05.2005 by Forum Nokia 
* 
*  Implementation notes:
*
*     Initial content was generated by Series 60 Application Wizard.
*  Version  : 1.0
*  Copyright: Nokia Corporation 
* ============================================================================
*/

// INCLUDE FILES
#include    "LogExampleApp.h"
#include    "LogExampleDocument.h"
#if defined __SERIES60_30__
#include <eikstart.h>
#endif

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

// ---------------------------------------------------------
// CLogExampleApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CLogExampleApp::AppDllUid() const
    {
    return KUidLogExample;
    }

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


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

#if defined __SERIES60_30__
// ---------------------------------------------------------
// E32Main 
// main function for Symbian OS v9 EXE application.
// ---------------------------------------------------------
//
GLDEF_C TInt E32Main()
    {
    return EikStart::RunApplication ( NewApplication );
    }

#else // !(__SERIES60_30__)

// ---------------------------------------------------------
// E32Dll(TDllReason) 
// Entry point function for Symbian Apps
// Returns: KErrNone: No error
// ---------------------------------------------------------
//
GLDEF_C TInt E32Dll( TDllReason )
    {
    return KErrNone;
    }
    
#endif // (__SERIES60_30__)

// End of File  

⌨️ 快捷键说明

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