diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/thread_8cpp_source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/thread_8cpp_source.html Tue Mar 30 16:16:55 2010 +0100 @@ -0,0 +1,63 @@ + + +
+ +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 */ +