oandx.cpp

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

CPP
30
字号
// Copyright (c) 2004 - 2006, Symbian Software Ltd. All rights reserved.

#include "OandXApplication.h"


EXPORT_C CApaApplication* NewApplication()
/**
	Standard exported function creates new instance of application object.
	
	@return					New instance of application object, NULL
							if not enough memory.  The returned object
							is only CBase initialized, i.e. the heap
							space is allocated and zeroed, and the constructor
							is run.  No secondary initialization is
							performed.
 */
    {
    return new COandXApplication;
    }

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

⌨️ 快捷键说明

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