multimediacommscontroller/tsrc/mmfstub/src/SpeechEncoderConfigProxy_STUB.h
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2002-2006 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:    Interface proxy for speech encoder configuration.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef CSPEECHENCODERCONFIGPROXY_STUB_H
       
    22 #define CSPEECHENCODERCONFIGPROXY_STUB_H
       
    23 
       
    24 // INCLUDES
       
    25 #include <SpeechEncoderConfig.h>
       
    26 #include <mmf/common/mmfcontrollerframework.h>
       
    27 
       
    28 // CONSTANTS
       
    29 
       
    30 // MACROS
       
    31 
       
    32 // DATA TYPES
       
    33 
       
    34 // FUNCTION PROTOTYPES
       
    35 
       
    36 // FORWARD DECLARATIONS
       
    37 
       
    38 // CLASS DECLARATION
       
    39 
       
    40 /**
       
    41 *  Proxy for speech encoder configuration.
       
    42 *  This proxy translates the interface API calls
       
    43 *  to messages and sends them to the message handler.
       
    44 *
       
    45 *  @lib SpeechEncoderConfigProxy.lib
       
    46 *  @since S60 3.0
       
    47 */
       
    48 class CSpeechEncoderConfigProxy_STUB: public CSpeechEncoderConfig
       
    49 	{
       
    50     public:  // Constructors and destructor
       
    51         
       
    52         /**
       
    53         * Two-phased constructor.
       
    54         */
       
    55 		IMPORT_C static CSpeechEncoderConfigProxy_STUB* NewL();
       
    56 		
       
    57         /**
       
    58         * Destructor.
       
    59         */
       
    60 		IMPORT_C virtual ~CSpeechEncoderConfigProxy_STUB();
       
    61 
       
    62     public: // New functions
       
    63         
       
    64     public: // Functions from base classes
       
    65 
       
    66         /**
       
    67         * From CSpeechEncoderConfig
       
    68         */
       
    69 		IMPORT_C virtual TInt GetSupportedBitrates(
       
    70 		                                  RArray<TUint>& aSupportedBitrates);
       
    71 
       
    72         /**
       
    73         * From CSpeechEncoderConfig
       
    74         */
       
    75 		IMPORT_C virtual TInt SetBitrate(TUint aBitrate);
       
    76 
       
    77         /**
       
    78         * From CSpeechEncoderConfig
       
    79         */
       
    80 		IMPORT_C virtual TInt GetBitrate(TUint& aBitrate);
       
    81 
       
    82         /**
       
    83         * From CSpeechEncoderConfig
       
    84         */
       
    85 		IMPORT_C virtual TInt SetVadMode(TBool aVadMode);
       
    86 
       
    87         /**
       
    88         * From CSpeechEncoderConfig
       
    89         */
       
    90 		IMPORT_C virtual TInt GetVadMode(TBool& aVadMode);
       
    91         
       
    92     protected:  // New functions
       
    93     protected:  // Functions from base classes
       
    94         
       
    95     private:
       
    96 
       
    97         /**
       
    98         * C++ default constructor.
       
    99         */
       
   100 		CSpeechEncoderConfigProxy_STUB();
       
   101 
       
   102         /**
       
   103         * By default Symbian 2nd phase constructor is private.
       
   104         */
       
   105 		void ConstructL();
       
   106         void GetSupportedBitratesL(RArray<TUint>& aSupportedBitrates);
       
   107 
       
   108     public:     // Data
       
   109     protected:  // Data
       
   110 
       
   111     private:    // Data
       
   112          
       
   113     public:     // Friend classes
       
   114     protected:  // Friend classes
       
   115     private:    // Friend classes
       
   116 
       
   117 	};
       
   118 
       
   119 #endif      // CSPEECHENCODERCONFIGPROXY_STUB_H
       
   120             
       
   121 // End of File