Nokia N97 SDK
Example Applications Guide

sensorexample.cpp

00001 /*
00002 * ==============================================================================
00003 *  Name        : sensorexample.cpp
00004 *  Part of     : sensorexample
00005 *  Interface   :
00006 *  Description :
00007 *  Version     :
00008 *
00009 *  Copyright (c) 2007 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 "sensorexampleapplication.h"
00019 
00020 /**
00021  * factory function to create the sensorexample application class
00022  */
00023 LOCAL_C CApaApplication* NewApplication()
00024     {
00025     return new CSensorExampleApplication;
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