email/imap4mtm/imapsettings/src/cimapsettings.cpp
branchRCL_3
changeset 54 fa1df4b99609
parent 0 72b543305e3a
child 77 da6ac9d688df
equal deleted inserted replaced
53:696bfeff199e 54:fa1df4b99609
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2006-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".
   168 @leave KErrNotFound if the resource file does not exist
   168 @leave KErrNotFound if the resource file does not exist
   169 */
   169 */
   170 void CImapSettings::ReadResourceFileL()
   170 void CImapSettings::ReadResourceFileL()
   171 	{
   171 	{
   172 	RFs fs;
   172 	RFs fs;
   173 	fs.Connect();
   173 	User::LeaveIfError(fs.Connect());
   174 	CleanupClosePushL(fs);
   174 	CleanupClosePushL(fs);
   175 	
   175 	
   176 	//	NB need to check on all drives - won't necessarily be on
   176 	//	NB need to check on all drives - won't necessarily be on
   177 	//	the same one as IMPS.DLL
   177 	//	the same one as IMPS.DLL
   178 	TFileName fileName(KImEngineResourceFile);
   178 	TFileName fileName(KImEngineResourceFile);