Nokia N97 SDK
Example Applications Guide

DynamicSettingList.cpp

00001 /*
00002 * ============================================================================
00003 *  Name     : CDynamicSettingList from DynamicSettingList.cpp
00004 *  Part of  : Dynamic Setting List
00005 *  Created  : 09/21/2005 by Forum Nokia
00006 *  Version  : 1.0
00007 *
00008 *  Copyright (c) 2005 - 2007 Nokia Corporation.
00009 *  This material, including documentation and any related
00010 *  computer programs, is protected by copyright controlled by
00011 *  Nokia Corporation.
00012 * ============================================================================
00013 */
00014 
00015 // INCLUDE FILES
00016 #include "DynamicSettingListApplication.h"
00017 #if defined __SERIES60_3X__
00018 #include <eikstart.h>
00019 #endif
00020 
00021 // Create an application, and return a pointer to it
00022 EXPORT_C CApaApplication* NewApplication() 
00023     {
00024     return (new CDynamicSettingListApplication);
00025     }
00026 
00027 #if defined __SERIES60_3X__
00028 // ---------------------------------------------------------
00029 // E32Main 
00030 // main function for Symbian OS v9 EXE application.
00031 // ---------------------------------------------------------
00032 //
00033 GLDEF_C TInt E32Main()
00034     {
00035     return EikStart::RunApplication ( NewApplication );
00036     }
00037 
00038 #else // !(__SERIES60_30__)
00039 
00040 // ---------------------------------------------------------
00041 // E32Dll(TDllReason) 
00042 // Entry point function for Symbian Apps
00043 // Returns: KErrNone: No error
00044 // ---------------------------------------------------------
00045 //
00046 GLDEF_C TInt E32Dll( TDllReason )
00047     {
00048     return KErrNone;
00049     }
00050     
00051 #endif // (__SERIES60_30__)    

© Nokia 2009

Back to top