mmappcomponents/asxparser/src/asxparser.cpp
changeset 51 e61a04404bdf
parent 27 cbb1bfb7ebfb
child 54 fa0adf088850
equal deleted inserted replaced
44:d141fc1ad77b 51:e61a04404bdf
    13 *
    13 *
    14 * Description:  Simple v2/v3 ASX-fileparser
    14 * Description:  Simple v2/v3 ASX-fileparser
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version: 10.1.5.1.2 %
    18 // Version : %version: 10.1.5.1.3 %
    19 
    19 
    20 
    20 
    21 
    21 
    22 // INCLUDE FILES
    22 // INCLUDE FILES
    23 #include <e32base.h>
    23 #include <e32base.h>
   419 //
   419 //
   420 void CAsxParser::HandleFileParsingL( RFile& aFile )
   420 void CAsxParser::HandleFileParsingL( RFile& aFile )
   421 {
   421 {
   422     iVersion = KErrNotFound;
   422     iVersion = KErrNotFound;
   423 
   423 
   424     TInt size;
   424     TInt size = 0;
   425     User::LeaveIfError( aFile.Size( size ) );
   425     User::LeaveIfError( aFile.Size( size ) );
   426 
   426 
   427     if ( size > KMaxAsxFileSize )
   427     if ( size > KMaxAsxFileSize )
   428     {
   428     {
   429         ASX_DEBUG(_L("#MP# CAsxParser::HandleFileParsingL() file size > max size"));
   429         ASX_DEBUG(_L("#MP# CAsxParser::HandleFileParsingL() file size > max size"));