videoplayback/videohelix/tsrc/ut_videohelixtest/src/mpxvideoplayerutility_stub.cpp
branchRCL_3
changeset 6 7d91903f795f
parent 1 6711b85517b7
child 8 ce5ada96ab30
equal deleted inserted replaced
2:dec420019252 6:7d91903f795f
    13 *
    13 *
    14 * Description: Stub for helix
    14 * Description: Stub for helix
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version: 11 %
    18 // Version : %version: 12 %
    19 
    19 
    20 #include <audiopreference.h>
    20 #include <audiopreference.h>
    21 #include <mmf/server/mmffile.h>
    21 #include <mmf/server/mmffile.h>
    22 
    22 
    23 #include "stifutilities.h"
    23 #include "stifutilities.h"
   655     {
   655     {
   656         delete iTitle;
   656         delete iTitle;
   657 
   657 
   658         iTitle = value.AllocL();
   658         iTitle = value.AllocL();
   659     }
   659     }
   660     else if ( ! aItem.Compare(_L8("Description")) )
   660     else if ( ! aItem.Compare(_L8("Description")) ||
   661     {
   661     	      ! aItem.Compare(_L8("Abstract")) )
   662         delete iDescription;
   662     {
   663 
   663         if ( ! iDescription )
   664         iDescription = value.AllocL();
   664         {
       
   665             iDescription = value.AllocL();
       
   666         }
   665     }
   667     }
   666     else if ( ! aItem.Compare(_L8("Artist")) )
   668     else if ( ! aItem.Compare(_L8("Artist")) )
   667     {
   669     {
   668         delete iArtist;
   670         delete iArtist;
   669 
   671 
   670         iArtist = value.AllocL();
   672         iArtist = value.AllocL();
       
   673     }
       
   674     else if ( ! aItem.Compare(_L8("Location")) )
       
   675     {
       
   676         delete iLocation;
       
   677 
       
   678         iLocation = value.AllocL();
       
   679     }
       
   680     else if ( ! aItem.Compare(_L8("Copyright")) )
       
   681     {
       
   682         delete iCopyright;
       
   683 
       
   684         iCopyright = value.AllocL();
       
   685     }
       
   686     else if ( ! aItem.Compare(_L8("Language")) )
       
   687     {
       
   688         delete iLanguage;
       
   689 
       
   690         iLanguage = value.AllocL();
       
   691     }
       
   692     else if ( ! aItem.Compare(_L8("Keywords")) )
       
   693     {
       
   694         delete iKeywords;
       
   695 
       
   696         iKeywords = value.AllocL();
   671     }
   697     }
   672 
   698 
   673     HBufC* name = HBufC::NewL( aItem.Length() );
   699     HBufC* name = HBufC::NewL( aItem.Length() );
   674     TPtr namePtr( name->Des() );
   700     TPtr namePtr( name->Des() );
   675     namePtr.Copy( aItem );
   701     namePtr.Copy( aItem );