examples/ForumNokia/ThreadExample/src/thread.cpp

00001 /*
00002 * ============================================================================
00003 *  Name     : Thread.Cpp
00004 *  Part of  : Thread
00005 *  Created  : 04.02.2005 by Forum Nokia
00006 *  Version  : 1.0
00007 *  Copyright: Nokia Corporation
00008 * ============================================================================
00009 */
00010 
00011 // INCLUDES
00012 
00013 //#ifdef __SERIES60_30__
00014 #include <eikstart.h>
00015 //#endif
00016 
00017 #include "ThreadApplication.h"
00018 
00019 //#ifdef __SERIES60_30__
00020 
00021 LOCAL_C CApaApplication* NewApplication()
00022     {
00023     return new CThreadApplication;
00024     }
00025     
00026 GLDEF_C TInt E32Main()
00027     {
00028     return EikStart::RunApplication( NewApplication );
00029     }
00030 
00031 /*
00032 #else
00033 
00034 // DLL entry point, return that everything is ok
00035 GLDEF_C TInt E32Dll(TDllReason aReason)
00036     {
00037     return KErrNone;
00038     }
00039 
00040 // Create an application, and return a pointer to it
00041 EXPORT_C CApaApplication* NewApplication() 
00042     {
00043     return (static_cast<CApaApplication*>(new CThreadApplication));
00044     }
00045     
00046 #endif
00047 */

Generated by  doxygen 1.6.2