diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/threadapplication_8cpp_source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/threadapplication_8cpp_source.html Tue Mar 30 16:16:55 2010 +0100 @@ -0,0 +1,44 @@ + + +
+ +00001 /* +00002 * ============================================================================ +00003 * Name : CThreadApplication from CThreadApplication.h +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 #include "ThreadDocument.h" +00013 #include "ThreadApplication.h" +00014 +00015 // UID for the application; this should correspond to the uid defined in the mmp file +00016 const TUid KUidThreadApp = {0x101FF1CC}; +00017 +00018 CApaDocument* CThreadApplication::CreateDocumentL() +00019 { +00020 // Create an Thread document, and return a pointer to it +00021 return (static_cast<CApaDocument*>(CThreadDocument::NewL(*this))); +00022 } +00023 +00024 TUid CThreadApplication::AppDllUid() const +00025 { +00026 // Return the UID for the Thread application +00027 return KUidThreadApp; +00028 } +