mmappcomponents/audiofetcher/src/audiofetcherdialog.cpp
branchRCL_3
changeset 19 51035f0751c2
parent 14 05b0d2323768
child 42 4aca42fa4eb1
equal deleted inserted replaced
17:780c925249c1 19:51035f0751c2
   194     switch( aKeycode )
   194     switch( aKeycode )
   195         {
   195         {
   196         case EAknSoftkeySelect :
   196         case EAknSoftkeySelect :
   197             {       
   197             {       
   198             TInt index = CurrentItemListIndex();
   198             TInt index = CurrentItemListIndex();
   199             TBuf<128> fileName;
   199             TFileName fileName;
   200             
   200             
   201             iFileHandler->GetAttribute( index, CAudioFetcherFileHandler::EAttrFullName, fileName, 0 );
   201             iFileHandler->GetAttribute( index, CAudioFetcherFileHandler::EAttrFullName, fileName, 0 );
   202             iSelectedFiles.AppendL( fileName );
   202             iSelectedFiles.AppendL( fileName );
   203             
   203             
   204             // Retreives the uri's of the selected files and verifies if it is a 
   204             // Retreives the uri's of the selected files and verifies if it is a 
   926 TBool CAudioFetcherDialog::HandleListSelectionL()
   926 TBool CAudioFetcherDialog::HandleListSelectionL()
   927     {
   927     {
   928     TBool closeDialog = EFalse;
   928     TBool closeDialog = EFalse;
   929     
   929     
   930     TInt index = CurrentItemListIndex();
   930     TInt index = CurrentItemListIndex();
   931     TBuf<128> fileName;
   931     TFileName fileName;
   932     
   932     
   933     iFileHandler->GetAttribute( index, CAudioFetcherFileHandler::EAttrFullName, fileName, 0 );
   933     iFileHandler->GetAttribute( index, CAudioFetcherFileHandler::EAttrFullName, fileName, 0 );
   934     iSelectedFiles.AppendL( fileName );
   934     iSelectedFiles.AppendL( fileName );
   935     
   935     
   936     // Retreives the uri's of the selected files and verifies if it is a 
   936     // Retreives the uri's of the selected files and verifies if it is a