harvesterplugins/media/video/src/cpixmediavideodoc.cpp
changeset 26 367228f82b66
parent 18 1edf350003c5
equal deleted inserted replaced
24:1abfa342db42 26:367228f82b66
   104     if(aObject.Property( titlePropDef, property ) != KErrNotFound)
   104     if(aObject.Property( titlePropDef, property ) != KErrNotFound)
   105         {
   105         {
   106         CMdETextProperty* textProperty = ( CMdETextProperty* ) property;
   106         CMdETextProperty* textProperty = ( CMdETextProperty* ) property;
   107         if( textProperty->Value().Compare(KNullDesC) > 0 )
   107         if( textProperty->Value().Compare(KNullDesC) > 0 )
   108             {
   108             {
   109 #ifdef USE_HIGHLIGHTER    
   109 //#ifdef USE_HIGHLIGHTER    
   110             index_item->AddHLDisplayFieldL(textProperty->Value());
   110             index_item->AddHLDisplayFieldL(textProperty->Value());
   111             AddToFieldExcerptL(name); //Add name to excerpt field
   111             AddToFieldExcerptL(name); //Add name to excerpt field
   112 #else  
   112 //#else  
   113             AddToFieldExcerptL(name); //Add name to excerpt field
   113 //            AddToFieldExcerptL(name); //Add name to excerpt field
   114 #endif
   114 //#endif
   115             }
   115             }
   116             else
   116             else
   117             {
   117             {
   118 #ifdef USE_HIGHLIGHTER    
   118 //#ifdef USE_HIGHLIGHTER    
   119             index_item->AddHLDisplayFieldL(name);
   119             index_item->AddHLDisplayFieldL(name);
   120 #endif
   120 //#endif
   121             }
   121             }
   122         }
   122         }
   123     //URI and Excerpt is done add additional properties here 
   123     //URI and Excerpt is done add additional properties here 
   124     
   124     
   125     CMdEPropertyDef& artistPropDef = aObjectDef.GetPropertyDefL(MdeConstants::MediaObject::KArtistProperty );
   125     CMdEPropertyDef& artistPropDef = aObjectDef.GetPropertyDefL(MdeConstants::MediaObject::KArtistProperty );