mmfenh/advancedaudiocontroller/audiocontrollerpluginsvariant/3gpaudioplaycontroller/Src/3GPAudioPlayControllerResource.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 class provides the main API for the specific codec resources.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef C3GPAUDIOPLAYCONTROLLERRESOURCE_H
       
    21 #define C3GPAUDIOPLAYCONTROLLERRESOURCE_H
       
    22 
       
    23 // INCLUDES
       
    24 #include "AdvancedAudioResource.h"
       
    25 
       
    26 // CONSTANTS
       
    27 const TInt K3GPResourceAAC 		= 1;
       
    28 const TInt K3GPResourceAMR 		= 2;
       
    29 const TInt K3GPResourceAWB		= 3;
       
    30 
       
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
       
    34 *  This class implements base class for all resource file handling classes.
       
    35 *
       
    36 *  @lib 3GPAudioPlayControllerPlugin.lib
       
    37 *  @since 3.0
       
    38 */
       
    39 class C3GPAudioPlayControllerResource : public CAdvancedAudioResource
       
    40 	{
       
    41     public:  // Constructors and destructor
       
    42 
       
    43         /**
       
    44         * Two-phased constructor.
       
    45         */
       
    46         static C3GPAudioPlayControllerResource* NewL( TInt aResourceType );
       
    47 
       
    48         /**
       
    49         * Destructor.
       
    50         */
       
    51         virtual ~C3GPAudioPlayControllerResource();
       
    52 
       
    53     private: // Functions from base classes
       
    54 
       
    55 		/**
       
    56         * From CAdvancedAudioResource
       
    57         * Reads the configuration parameters for the 3GP codec.
       
    58         * @since 3.0
       
    59         * @param	-
       
    60         * @return	-
       
    61         */
       
    62 		void ReadCodecConfigParametersL();
       
    63 
       
    64     private:
       
    65 
       
    66         /**
       
    67         * C++ default constructor.
       
    68         */
       
    69         C3GPAudioPlayControllerResource();
       
    70 
       
    71         /**
       
    72         * By default Symbian 2nd phase constructor is private.
       
    73         */
       
    74         void ConstructL( TInt aResourceType );
       
    75 
       
    76     private:	// Data
       
    77 
       
    78     	// Resource type
       
    79     	TInt iResourceType;
       
    80 
       
    81 	};
       
    82 
       
    83 #endif      // C3GPAUDIOPLAYCONTROLLERRESOURCE_H
       
    84 
       
    85 // End of File