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: 00015 // 00016 00017 00018 00019 // INCLUDE FILES 00020 #include "SqlSrvDemoDocument.h" 00021 #include "SqlSrvDemoApplication.h" 00022 00023 00024 // ========================= MEMBER FUNCTIONS ================================== 00025 00026 // ----------------------------------------------------------------------------- 00027 // CSqlSrvDemoApplication::CreateDocumentL() 00028 // Create an SqlSrvDemo document, and return a pointer to it 00029 // ----------------------------------------------------------------------------- 00030 // 00031 CApaDocument* CSqlSrvDemoApplication::CreateDocumentL() 00032 { 00033 return( static_cast< CApaDocument* >( CSqlSrvDemoDocument::NewL( *this ) ) ); 00034 } 00035 00036 // ----------------------------------------------------------------------------- 00037 // CSqlSrvDemoApplication::AppDllUid() 00038 // Returns application UID 00039 // ----------------------------------------------------------------------------- 00040 // 00041 TUid CSqlSrvDemoApplication::AppDllUid() const 00042 { 00043 return KUidSqlSrvDemoApp; 00044 } 00045 00046 // End of File