examples/ForumNokia/Document_Handler_Example/TestApp/src/TestApp.cpp

00001 /* ====================================================================
00002  * File: TestApp.cpp
00003  * Created: 28/06/06 by Forum Nokia
00004  * Author: 
00005  * Copyright (c): , All rights reserved
00006  * ==================================================================== */
00007 
00008 #include "TestAppApplication.h"
00009 
00010 //#ifdef __SERIES60_3X__
00011     #include <eikstart.h>
00012 //#endif
00013 
00014 // ---------------------------------------------------------------------------
00015 // NewApplication()
00016 //
00017 // Return new instance of the DBMS application.
00018 // ---------------------------------------------------------------------------
00019 EXPORT_C CApaApplication* NewApplication()
00020     {
00021     return (static_cast<CApaApplication*>(new CTestAppApplication));
00022     }
00023 /*
00024 #ifndef __SERIES60_3X__
00025 // ---------------------------------------------------------
00026 // E32Dll(TDllReason) 
00027 // Entry point function for EPOC Apps
00028 // Returns: KErrNone: No error
00029 // ---------------------------------------------------------
00030 //
00031 GLDEF_C TInt E32Dll( TDllReason )
00032 {
00033     return KErrNone; 
00034 }
00035 #else
00036 */
00037 // ---------------------------------------------------------
00038 // E32Main()
00039 // Entry point function for new (>= 9.0) EPOC Apps (exe)
00040 // Returns: System Wide error codes or KErrNone if all goes well
00041 // ---------------------------------------------------------
00042 //
00043 GLDEF_C TInt E32Main()
00044 {
00045         return EikStart::RunApplication( NewApplication );
00046 }
00047 //#endif
00048 
00049 

Generated by  doxygen 1.6.2