00001 // 00002 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). 00003 // All rights reserved. 00004 // This component and the accompanying materials are made available 00005 // under the terms of the License "Eclipse Public License v1.0" 00006 // which accompanies this distribution, and is available 00007 // at the URL "http://www.eclipse.org/legal/epl-v10.html". 00008 // 00009 // Initial Contributors: 00010 // Nokia Corporation - initial contribution. 00011 // 00012 // Contributors: 00013 // 00014 // Description: Main application class 00015 // 00016 // 00017 00018 00019 // INCLUDE FILES 00020 #include "Skeleton.hrh" 00021 #include "SkeletonDocument.h" 00022 #include "SkeletonApplication.h" 00023 00024 // ============================ MEMBER FUNCTIONS =============================== 00025 00026 // ----------------------------------------------------------------------------- 00027 // CSkeletonApplication::CreateDocumentL() 00028 // Creates CApaDocument object 00029 // ----------------------------------------------------------------------------- 00030 // 00031 CApaDocument* CSkeletonApplication::CreateDocumentL() 00032 { 00033 // Create an Skeleton document, and return a pointer to it 00034 return (static_cast<CApaDocument*> 00035 ( CSkeletonDocument::NewL( *this ) ) ); 00036 } 00037 00038 // ----------------------------------------------------------------------------- 00039 // CSkeletonApplication::AppDllUid() 00040 // Returns application UID 00041 // ----------------------------------------------------------------------------- 00042 // 00043 TUid CSkeletonApplication::AppDllUid() const 00044 { 00045 // Return the UID for the Skeleton application 00046 return KUidSkeletonApp; 00047 } 00048 00049 // End of File