diff -r 6cadd6867c17 -r 67f2ed48ad91 menucontentsrv/srvsrc/mcscachehandler.cpp --- a/menucontentsrv/srvsrc/mcscachehandler.cpp Wed Sep 15 12:32:36 2010 +0300 +++ b/menucontentsrv/srvsrc/mcscachehandler.cpp Wed Oct 13 14:53:46 2010 +0300 @@ -11,7 +11,7 @@ * * Contributors: * -* Description: Used for receive SIM Application name, icon or +* Description: Used for receive SIM Application name, icon or * visibility information. * */ @@ -33,7 +33,7 @@ // Two-phased constructor. // ----------------------------------------------------------------------------- // -EXPORT_C CMcsCacheHandler* CMcsCacheHandler::NewL( +EXPORT_C CMcsCacheHandler* CMcsCacheHandler::NewL( CMenuEng& aEng, CMenuSrvEngUtils& aUtils ) { @@ -44,7 +44,7 @@ return self; } -// ----------------------------------------------------------------------------- +// ----------------------------------------------------------------------------- // Destructor // ----------------------------------------------------------------------------- CMcsCacheHandler::~CMcsCacheHandler() @@ -58,7 +58,7 @@ // might leave. // ----------------------------------------------------------------------------- // -CMcsCacheHandler::CMcsCacheHandler( +CMcsCacheHandler::CMcsCacheHandler( CMenuEng& aEng, CMenuSrvEngUtils& aUtils ): iEng( aEng ), iUtils( aUtils ) { @@ -75,7 +75,7 @@ // ----------------------------------------------------------------------------- // ----------------------------------------------------------------------------- -// +// void CMcsCacheHandler::HandleRemoveId( TInt aId ) { iAttrCache.RemoveId( aId ); @@ -83,7 +83,7 @@ // ----------------------------------------------------------------------------- // ----------------------------------------------------------------------------- -// +// void CMcsCacheHandler::HandleRemoveAttribute( TInt aId, const TDesC& aAttrName ) { iAttrCache.RemoveAttribute(aId, aAttrName); @@ -91,7 +91,7 @@ // ----------------------------------------------------------------------------- // ----------------------------------------------------------------------------- -// +// void CMcsCacheHandler::EngineEvents( TInt aEvents ) { if( aEvents & RMenuNotifier::EItemsAddedRemoved ) @@ -100,7 +100,7 @@ } if( aEvents & RMenuNotifier::EItemAttributeChanged ) { - TRAP_IGNORE( RemoveItemsWithChangedAttributesL() ); + TRAP_IGNORE(RemoveItemsWithChangedAttributesL()); } } @@ -118,9 +118,9 @@ TInt id = iAttrCache[i]->Id(); TPtrC name = iAttrCache[i]->Name(); TPtrC valueCache = iAttrCache[i]->Value(); - + TPtrC valueXml(KNullDesC); - + exist = iEng.ObjectL(id).FindAttribute( name, valueXml, dummy ); if( exist && valueXml != valueCache ) { @@ -151,4 +151,4 @@ } } -// End of File +// End of File