mmappcomponents/mmmtpdataprovider/mmmtpdprequestprocessor/src/csendobject.cpp
branchRCL_3
changeset 23 4740b34b83ce
parent 19 51035f0751c2
child 28 f56ec6ce2732
equal deleted inserted replaced
19:51035f0751c2 23:4740b34b83ce
  1106             }
  1106             }
  1107         }
  1107         }
  1108 
  1108 
  1109     if ( result && ( iObjectFormat != MmMtpDpUtility::FormatFromFilename( iFullPath ) ) )
  1109     if ( result && ( iObjectFormat != MmMtpDpUtility::FormatFromFilename( iFullPath ) ) )
  1110         {
  1110         {
  1111         PRINT2( _L( "MM MTP <> %S does not match 0x%x" ), &iFullPath, iObjectFormat );
  1111         TParsePtrC file( aFileName );
  1112         result = EFalse;
  1112         if ( ( iObjectFormat == EMTPFormatCode3GPContainer ) && (file.Ext().CompareF( KTxtExtensionODF ) == 0))
       
  1113             {
       
  1114             PRINT( _L( "MM MTP <> might happen if function is called before physical file arrives" ) );
       
  1115             // might happen if function is called before physical file arrives
       
  1116             // do nothing
       
  1117             }
       
  1118         else
       
  1119             {
       
  1120             PRINT2( _L( "MM MTP <> %S does not match 0x%x" ), &iFullPath, iObjectFormat );
       
  1121             result = EFalse;
       
  1122             }
  1113         }
  1123         }
  1114 
  1124 
  1115     PRINT1( _L( "MM MTP <= CSendObject::GetFullPathNameL result = %d" ), result );
  1125     PRINT1( _L( "MM MTP <= CSendObject::GetFullPathNameL result = %d" ), result );
  1116 
  1126 
  1117     return result;
  1127     return result;