00001 /* 00002 * ============================================================================== 00003 * Name : Coverflowapplication.cpp 00004 * Part of : CoverflowApp 00005 * Interface : 00006 * Description : 00007 * Version : 00008 * 00009 * Copyright (c) 2005-2006 Nokia Corporation. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia Corporation. 00013 * ============================================================================== 00014 */ 00015 00016 // INCLUDE FILES 00017 #include "CoverflowAppDocument.h" 00018 #include "CoverflowApplication.h" 00019 00020 // ============================ MEMBER FUNCTIONS =============================== 00021 00022 // UID for the application; 00023 // this should correspond to the uid defined in the mmp file 00024 const TUid KUidCoverflowApp = { 0xA000017F }; 00025 00026 // ----------------------------------------------------------------------------- 00027 // CCoverflowApplication::CreateDocumentL() 00028 // Creates CApaDocument object 00029 // ----------------------------------------------------------------------------- 00030 // 00031 CApaDocument* CCoverflowApplication::CreateDocumentL() 00032 { 00033 // Create an CoverflowApp document, and return a pointer to it 00034 return (static_cast<CApaDocument*> 00035 ( CCoverflowAppDocument::NewL( *this ) ) ); 00036 } 00037 00038 // ----------------------------------------------------------------------------- 00039 // CCoverflowApplication::AppDllUid() 00040 // Returns application UID 00041 // ----------------------------------------------------------------------------- 00042 // 00043 TUid CCoverflowApplication::AppDllUid() const 00044 { 00045 // Return the UID for the CoverflowApp application 00046 return KUidCoverflowApp; 00047 } 00048 00049 // End of File 00050