contentstorage/cautils/src/caentryattribute.cpp
changeset 66 32469d7d46ff
parent 60 f62f87b200ec
child 98 d2f833ab7940
--- a/contentstorage/cautils/src/caentryattribute.cpp	Fri Apr 16 15:16:09 2010 +0300
+++ b/contentstorage/cautils/src/caentryattribute.cpp	Mon May 03 12:48:45 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
 // ---------------------------------------------------------
 //