videoplayerapp/mpxvideoplayer/inc/mpxvideoplayeraiwparamextractor.h
changeset 0 96612d01cf9f
equal deleted inserted replaced
-1:000000000000 0:96612d01cf9f
       
     1 /*
       
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Application class
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : %version: da1mmcf#3 %
       
    19 
       
    20 #ifndef MPXVIDEOPLAYERAIWPARAMEXTRACTOR_H_
       
    21 #define MPXVIDEOPLAYERAIWPARAMEXTRACTOR_H_
       
    22 
       
    23 class CAiwGenericParamList;
       
    24 
       
    25 /**
       
    26 *  CMpxVideoPlayerAiwParamExtractor
       
    27 *  Extracts parameters from generic paramater list
       
    28 *
       
    29 *  @lib mpxvideoplayer.exe 
       
    30 *  @since MpxVideoPlayer 0.1
       
    31 */
       
    32 class CMpxVideoPlayerAiwParamExtractor : public CBase
       
    33     {
       
    34     public:        // Constructors and destructor
       
    35         static CMpxVideoPlayerAiwParamExtractor* NewL( );        
       
    36            
       
    37         /**
       
    38         * Destructor.
       
    39         */
       
    40         virtual ~CMpxVideoPlayerAiwParamExtractor();
       
    41            
       
    42         /**
       
    43         * Extracts parameters from given generic parameter list.
       
    44         */
       
    45         void  ExtractParameters( const CAiwGenericParamList& aParamList );
       
    46            
       
    47         /**
       
    48         * Returns download id extracted previously from generic parameter list
       
    49         */
       
    50         TInt32  DlId( );
       
    51         
       
    52     private:
       
    53         /**
       
    54          * Constructor
       
    55          */
       
    56         CMpxVideoPlayerAiwParamExtractor( );
       
    57          
       
    58         /**
       
    59          * By default Symbian 2nd phase constructor is private.
       
    60          */
       
    61         void ConstructL();
       
    62         
       
    63         /**
       
    64          * DlId found from paramaters
       
    65          */
       
    66         TInt32 iDlId;
       
    67     };
       
    68 
       
    69 #endif /*MPXVIDEOPLAYERAIWPARAMEXTRACTOR_H_*/