diff -r a6d55a2e75be -r 782e3408c2ab contentstorage/cautils/src/caentryattribute.cpp --- a/contentstorage/cautils/src/caentryattribute.cpp Fri Mar 26 13:00:55 2010 +0200 +++ b/contentstorage/cautils/src/caentryattribute.cpp Fri Apr 16 14:45:49 2010 +0300 @@ -124,6 +124,23 @@ } // --------------------------------------------------------- +// RMenuSrvAttrArray::Find +// --------------------------------------------------------- +// +EXPORT_C TBool RCaEntryAttrArray::Find( const TDesC& aName, TPtrC& aAttrVal ) + { + for( TInt i = 0; i < Count(); i++ ) + { + if( aName.Compare( operator[]( i )->Name() ) == KErrNone ) + { + aAttrVal.Set( operator[]( i )->Value() ); + return ETrue; + } + } + return EFalse; + } + +// --------------------------------------------------------- // RCaEntryAttrArray::Exist // --------------------------------------------------------- //