mmfenh/advancedaudiocontroller/audiocontrollerpluginsvariant/awbaudioplaycontroller/Src/AWBAudioPlayControllerDecoderBuilder.h
changeset 0 71ca22bcf22a
equal deleted inserted replaced
-1:000000000000 0:71ca22bcf22a
       
     1 /*
       
     2 * Copyright (c) 2004 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:  This is a builder class for decoder object.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CAWBAUDIOPLAYCONTROLLERDECODERBUILDER_H
       
    21 #define CAWBAUDIOPLAYCONTROLLERDECODERBUILDER_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <e32base.h>
       
    25 
       
    26 // CONSTANTS
       
    27 const TInt KAWBDecoder	= 1;
       
    28 const TInt KAWBConverter	= 2;
       
    29 
       
    30 // FORWARD DECLARATIONS
       
    31 class CAdvancedAudioDecoder;
       
    32 
       
    33 // CLASS DECLARATION
       
    34 
       
    35 /**
       
    36 *  This class implements converter builder.
       
    37 *
       
    38 *  @lib AACAudioPlayControllerPlugin.lib
       
    39 *  @since 3.0
       
    40 */
       
    41 class CAWBAudioPlayControllerDecoderBuilder : public CBase
       
    42 	{
       
    43     public:  // Constructors and destructor
       
    44 
       
    45         /**
       
    46         * Two-phased constructor.
       
    47         */
       
    48         static CAWBAudioPlayControllerDecoderBuilder* NewL();
       
    49 
       
    50         /**
       
    51         * Destructor.
       
    52         */
       
    53         virtual ~CAWBAudioPlayControllerDecoderBuilder();
       
    54 
       
    55     public: // New functions
       
    56 
       
    57 		/**
       
    58 		* Creates a decoder of specified type.
       
    59 		* @param none
       
    60 		* @return pointer to CAdvancedAudioDecoder object
       
    61 		*/
       
    62 		CAdvancedAudioDecoder* BuildDecoderL( TInt aType );
       
    63 
       
    64     private:
       
    65 
       
    66         /**
       
    67         * C++ default constructor.
       
    68         */
       
    69         CAWBAudioPlayControllerDecoderBuilder();
       
    70 
       
    71         /**
       
    72         * By default Symbian 2nd phase constructor is private.
       
    73         */
       
    74         void ConstructL();
       
    75 
       
    76     private:	// Data
       
    77 
       
    78 	};
       
    79 
       
    80 #endif      // CAWBAUDIOPLAYCONTROLLERDECODERBUILDER_H
       
    81 
       
    82 // End of File