drawing_main.cpp

来自「Symbian OS C++ for Mobile Phones v3 Exam」· C++ 代码 · 共 47 行

CPP
47
字号
// Drawing_Main.cpp
// -------------------
//
// Copyright (c) 2002 - 2007 Symbian Software Ltd.  All rights reserved.
//

////////////////////////////////////////////////////////////////////////
//
// Drawing 
// ----------
//
//
// The example is a simple application containing a single view with
// the text "Hello World !" drawn on it.
// 
// The example includes code for displaying a very simple menu.
//
// --------------------------------------------------------------------- 
//
// This source file contains the single exported function required by 
// all UI applications and the E32Dll function which is also required
// but is not used here.
//
////////////////////////////////////////////////////////////////////////


#include <eikstart.h>
#include "Drawing.h"

//             The entry point for the application code. It creates
//             an instance of the CApaApplication derived
//             class, CExampleApplication.
//
EXPORT_C CApaApplication* NewApplication()
	{
	return new CExampleApplication;
	}


//	Standard entrypoint function for UI applications.
//	@return					Return code from EikStart::RunApplication.
//
GLDEF_C TInt E32Main()
	{
	return EikStart::RunApplication(NewApplication);
	}

⌨️ 快捷键说明

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