videoplayerapp/mpxvideoplayer/inc/mpxvideoplayeraiwparamextractor.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 15 Sep 2010 12:15:24 +0300
branchRCL_3
changeset 64 3eb824b18d67
parent 0 96612d01cf9f
permissions -rw-r--r--
Revision: 201035 Kit: 201036

/*
* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Application class
*
*/

// Version : %version: da1mmcf#3 %

#ifndef MPXVIDEOPLAYERAIWPARAMEXTRACTOR_H_
#define MPXVIDEOPLAYERAIWPARAMEXTRACTOR_H_

class CAiwGenericParamList;

/**
*  CMpxVideoPlayerAiwParamExtractor
*  Extracts parameters from generic paramater list
*
*  @lib mpxvideoplayer.exe 
*  @since MpxVideoPlayer 0.1
*/
class CMpxVideoPlayerAiwParamExtractor : public CBase
    {
    public:        // Constructors and destructor
        static CMpxVideoPlayerAiwParamExtractor* NewL( );        
           
        /**
        * Destructor.
        */
        virtual ~CMpxVideoPlayerAiwParamExtractor();
           
        /**
        * Extracts parameters from given generic parameter list.
        */
        void  ExtractParameters( const CAiwGenericParamList& aParamList );
           
        /**
        * Returns download id extracted previously from generic parameter list
        */
        TInt32  DlId( );
        
    private:
        /**
         * Constructor
         */
        CMpxVideoPlayerAiwParamExtractor( );
         
        /**
         * By default Symbian 2nd phase constructor is private.
         */
        void ConstructL();
        
        /**
         * DlId found from paramaters
         */
        TInt32 iDlId;
    };

#endif /*MPXVIDEOPLAYERAIWPARAMEXTRACTOR_H_*/