equal
deleted
inserted
replaced
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
127 */ |
127 */ |
128 inline void TSqlSrvFileData::InitL(RFs& aFs, const TDriveName& aSysDriveName, const TDesC& aServerPrivatePath, |
128 inline void TSqlSrvFileData::InitL(RFs& aFs, const TDriveName& aSysDriveName, const TDesC& aServerPrivatePath, |
129 const TDesC& aConfigFileName, const CDbConfigFiles* aDbConfigFiles) |
129 const TDesC& aConfigFileName, const CDbConfigFiles* aDbConfigFiles) |
130 { |
130 { |
131 iFs = aFs; |
131 iFs = aFs; |
132 iSysDrivePrivatePath.Set(aSysDriveName, &aServerPrivatePath, 0); |
132 __SQLLEAVE_IF_ERROR(iSysDrivePrivatePath.Set(aSysDriveName, &aServerPrivatePath, 0)); |
133 iConfig.InitL(aFs, aConfigFileName); |
133 iConfig.InitL(aFs, aConfigFileName); |
134 iConfig.GetConfigParamsL(KNullDesC8, iConfigParams);//iConfigParams initialized with the config file params |
134 iConfig.GetConfigParamsL(KNullDesC8, iConfigParams);//iConfigParams initialized with the config file params |
135 //(because an empty configuration string is passed as an argument) |
135 //(because an empty configuration string is passed as an argument) |
136 iDbConfigFilesPtr = aDbConfigFiles; |
136 iDbConfigFilesPtr = aDbConfigFiles; |
137 } |
137 } |