S60 5th Edition SDK
Example Applications Guide

helloworldbasic.cpp

00001 /*
00002 * ==============================================================================
00003 *  Name        : helloworldbasic.cpp
00004 *  Part of     : Helloworldbasic
00005 *  Interface   :
00006 *  Description :
00007 *  Version     :
00008 *
00009 *  Copyright (c) 2005-2006 Nokia Corporation.
00010 *  This material, including documentation and any related
00011 *  computer programs, is protected by copyright controlled by
00012 *  Nokia Corporation.
00013 * ==============================================================================
00014 */
00015 
00016 // INCLUDE FILES
00017 #include <eikstart.h>
00018 #include "HelloWorldBasicApplication.h"
00019 
00020 /**
00021  * factory function to create the Hello World Basic application class
00022  */
00023 LOCAL_C CApaApplication* NewApplication()
00024         {
00025         return new CHelloWorldBasicApplication;
00026         }
00027 
00028 /**
00029  * A normal Symbian OS executable provides an E32Main() function which is
00030  * called by the operating system to start the program.
00031  */
00032 GLDEF_C TInt E32Main()
00033         {
00034         return EikStart::RunApplication( NewApplication );
00035         }
00036 

© Nokia 2009

Back to top