Nokia N97 SDK
Example Applications Guide

ueex.cpp

00001 /**
00002  * Copyright (c) 2007 Nokia Corporation.
00003  * This material, including documentation and any related
00004  * computer programs, is protected by
00005  * copyright controlled by Nokia Corporation.
00006  */
00007 
00008 
00009 
00010 // INCLUDE FILES
00011 #include "UEExApplication.h"
00012 #include <eikstart.h>
00013 
00014 /**
00015  * This example application shows some ways to use CAknUnitEditor
00016  * component. CAknUnitEditor is a multi field numeric editor, MFNE. It supports
00017  * a floating point value and a unit label, which can either be a
00018  * localized pre-defined unit or custom string. In this example a form is
00019  * created to contain the unit editor, but a unit editor can also be used like
00020  * any basic CCoeControl derived control. For more infomation about the
00021  * control itself, see the documentation for CAknUnitEditor. For a more
00022  * detailed explanation about using the unit editor in this application
00023  * see the documentation for CUEExForm in file ueexform.h.
00024  */
00025 LOCAL_C CApaApplication* NewApplication()
00026         {
00027         return new CUEExApplication;
00028         }
00029 
00030 
00031 GLDEF_C TInt E32Main()
00032         {
00033         return EikStart::RunApplication( NewApplication );
00034         }

© Nokia 2009

Back to top