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 }