filedetails/filedetailsdialog/src/MPFileDetailsDialog.cpp
branchRCL_3
changeset 70 375929f879c2
parent 64 3eb824b18d67
equal deleted inserted replaced
64:3eb824b18d67 70:375929f879c2
    13 *
    13 *
    14 * Description:   Implementation of the CMPFileDetailsDialog.*
    14 * Description:   Implementation of the CMPFileDetailsDialog.*
    15 */
    15 */
    16 
    16 
    17 
    17 
    18 // Version : %version: 21 %
    18 // Version : %version: 20 %
    19 
    19 
    20 // INCLUDE FILES
    20 // INCLUDE FILES
    21 #include <aknlists.h>
    21 #include <aknlists.h>
    22 #include <bautils.h>
    22 #include <bautils.h>
    23 #include <StringLoader.h>
    23 #include <StringLoader.h>
   308                     {
   308                     {
   309                     fileDetails->iCopyright = metaData->Value().AllocL();
   309                     fileDetails->iCopyright = metaData->Value().AllocL();
   310                     }
   310                     }
   311                 else if (!metaData->Name().CompareF(KMPArtist) || !metaData->Name().Compare(KMPAuthor))
   311                 else if (!metaData->Name().CompareF(KMPArtist) || !metaData->Name().Compare(KMPAuthor))
   312                     {
   312                     {
   313                     fileDetails->iArtist = metaData->Value().AllocL();
   313                     fileDetails->iArtist = metaData->Value().Alloc();
   314                     }
   314                     }
   315                 else if (!metaData->Name().CompareF(KMPTitle))
   315                 else if (!metaData->Name().CompareF(KMPTitle))
   316                     {
   316                     {
   317                     fileDetails->iTitle = metaData->Value().AllocL();
   317                     fileDetails->iTitle = metaData->Value().AllocL();
   318                     }
   318                     }
  1749 {
  1749 {
  1750     MPX_ENTER_EXIT(_L("CMPFileDetailsDialog::SetFileDetailL()"));
  1750     MPX_ENTER_EXIT(_L("CMPFileDetailsDialog::SetFileDetailL()"));
  1751 
  1751 
  1752     if( !aBuf && aDetail.Length())
  1752     if( !aBuf && aDetail.Length())
  1753         {
  1753         {
  1754         aBuf = HBufC::NewL( aDetail.Length() );
  1754         aBuf = HBufC::New( aDetail.Length() );
  1755         aBuf->Des().Copy( aDetail );
  1755         aBuf->Des().Copy( aDetail );
  1756         }
  1756         }
  1757 }
  1757 }
  1758 
  1758 
  1759 // CMPFileDetailsDialog::Close
  1759 // CMPFileDetailsDialog::Close