00001 // Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies). 00002 // All rights reserved. 00003 // This component and the accompanying materials are made available 00004 // under the terms of "Eclipse Public License v1.0" 00005 // which accompanies this distribution, and is available 00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html". 00007 // 00008 // Initial Contributors: 00009 // Nokia Corporation - initial contribution. 00010 // 00011 // Contributors: 00012 // 00013 // Description: 00014 // HelloWorld 00015 // The example is a simple application containing a single view with 00016 // the text "Hello World !" drawn on it. 00017 // The example includes code for displaying a very simple menu. 00018 // This source file contains the single exported function required by 00019 // all UI applications and the E32Dll function which is also required 00020 // but is not used here. 00021 // 00022 00023 00024 #include "HelloWorld.h" 00025 00026 // The entry point for the application code. It creates 00027 // an instance of the CApaApplication derived 00028 // class, CExampleApplication. 00029 // 00030 00031 00032 #include <eikstart.h> 00033 LOCAL_C CApaApplication* NewApplication() 00034 { 00035 return new CExampleApplication; 00036 } 00037 00038 GLDEF_C TInt E32Main() 00039 { 00040 return EikStart::RunApplication(NewApplication); 00041 } 00042 00043