diff -r 15018f1726c7 -r 3eacc0623088 persistentstorage/centralrepository/cenrepsrv/srvrepos_noc.cpp --- a/persistentstorage/centralrepository/cenrepsrv/srvrepos_noc.cpp Fri Mar 19 10:00:55 2010 +0200 +++ b/persistentstorage/centralrepository/cenrepsrv/srvrepos_noc.cpp Fri Apr 16 16:49:27 2010 +0300 @@ -80,11 +80,9 @@ /** Attempt to reset a single key to it's value in the file in the given location. Routine attempts to find a .cre file first. If ( and only if ) a cre file doesn't exist the -routine attempts to find a txt file. -Note that it would be possible to use LoadRepositoryLC here but for the txt file -that would take longer. This is because in LoadRepositoryLC the txt file is -completely processed. The Reset specific txt file opening code below is quicker because -it is just attempting to find the reset key. +routine attempts to find a txt file. In the presence of multi rofs, it needs to perform +merging of all the rom keyspaces first before doing a reset, hence we are not able to perform +the reading line by line for efficiency purpose. */ #ifdef SYMBIAN_CENTREP_SUPPORT_MULTIROFS void CServerRepository::ResetFromIniFileL(TUint32 aId, @@ -113,6 +111,15 @@ CleanupStack::PopAndDestroy(rep); } #else +/** +Attempt to reset a single key to it's value in the file in the given location. Routine +attempts to find a .cre file first. If ( and only if ) a cre file doesn't exist the +routine attempts to find a txt file. +Note that it would be possible to use LoadRepositoryLC here but for the txt file +that would take longer. This is because in LoadRepositoryLC the txt file is +completely processed. The Reset specific txt file opening code below is quicker because +it is just attempting to find the reset key. +*/ void CServerRepository::ResetFromIniFileL(TUint32 aId, TCentRepLocation aLocation, TBool& aKeyFound)