chinesedisplayapp.cpp

来自「This C++ application demonstrates how to」· C++ 代码 · 共 59 行

CPP
59
字号
/*
* ============================================================================
*  Name     : CChineseDisplayApp from ChineseDisplayApp.cpp
*  Part of  : ChineseDisplay
*  Created  : 18.3.2003 by Forum Nokia
*  Implementation notes:
*  Version  :
*  Copyright: Nokia Corporation, 2003
* ============================================================================
*/

#include "ChineseDisplayApp.h"
#include "ChineseDisplayDocument.h"

#include <eikstart.h>

// ---------------------------------------------------------
// ChineseDisplayApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CChineseDisplayApp::AppDllUid() const
    {
    return KUidChineseDisplay;
    }

   
// ---------------------------------------------------------
// ChineseDisplayApp::CreateDocumentL()
// Creates CChineseDisplayAppDocument object
// ---------------------------------------------------------
//
CApaDocument* CChineseDisplayApp::CreateDocumentL()
    {
    return CChineseDisplayDocument::NewL(*this);
    }

// ---------------------------------------------------------
// NewApplication() 
// Constructs ChineseDisplayApp
// Returns: created application object
// ---------------------------------------------------------
//
EXPORT_C CApaApplication* NewApplication()
    {
    return new CChineseDisplayApp;
    }

// ---------------------------------------------------------
// E32Main()
// Entry point function for new (>= 9.0) EPOC Apps (exe)
// Returns: Sistem Wide error codes or KErrNone if all goes well
// ---------------------------------------------------------
//
GLDEF_C TInt E32Main()
	{
	return EikStart::RunApplication( NewApplication );
	}

⌨️ 快捷键说明

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