multimediacommscontroller/tsrc/mmfstub/inc/G711EncoderIntfcProxy_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 G711 encoder.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef G711ENCODERINTFCPROXY_STUB_H
       
    22 #define G711ENCODERINTFCPROXY_STUB_H
       
    23 
       
    24 // INCLUDES
       
    25 #include <G711EncoderIntfc.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 class CCustomInterfaceUtility;
       
    38 class MCustomCommand;
       
    39 
       
    40 // CLASS DECLARATION
       
    41 
       
    42 /**
       
    43 *  Proxy for G711 encoder interface.
       
    44 *  This proxy translates the interface API calls
       
    45 *  to messages and sends them to the message handler.
       
    46 *
       
    47 *  @lib G711EncoderIntfcProxy.lib
       
    48 *  @since S60 3.0
       
    49 */
       
    50 class CG711EncoderIntfcProxy_STUB: public CG711EncoderIntfc
       
    51 	{
       
    52     public:  // Constructors and destructor
       
    53         
       
    54         /**
       
    55         * Two-phased constructor.
       
    56         */
       
    57 		IMPORT_C static CG711EncoderIntfcProxy_STUB* NewL( );
       
    58 		
       
    59         /**
       
    60         * Destructor.
       
    61         */
       
    62 		IMPORT_C virtual ~CG711EncoderIntfcProxy_STUB();
       
    63 
       
    64     public: // New functions
       
    65         
       
    66     public: // Functions from base classes
       
    67 
       
    68         /**
       
    69         * From CG711EncoderIntfc
       
    70         */
       
    71 		IMPORT_C virtual TInt SetEncoderMode(TEncodeMode aEncodeMode);
       
    72 
       
    73         /**
       
    74         * From CG711EncoderIntfc
       
    75         */
       
    76 		IMPORT_C virtual TInt SetVadMode(TBool aVadMode);
       
    77 
       
    78         /**
       
    79         * From CG711EncoderIntfc
       
    80         */
       
    81 		IMPORT_C virtual TInt GetVadMode(TBool& aVadMode);
       
    82 
       
    83     protected:  // New functions
       
    84         
       
    85     protected:  // Functions from base classes
       
    86         
       
    87     private:
       
    88 
       
    89         /**
       
    90         * C++ default constructor.
       
    91         */
       
    92 		CG711EncoderIntfcProxy_STUB();
       
    93 
       
    94         /**
       
    95         * By default Symbian 2nd phase constructor is private.
       
    96         */
       
    97 		void ConstructL();
       
    98 
       
    99     public:     // Data
       
   100     
       
   101     protected:  // Data
       
   102 
       
   103     private:    // Data
       
   104          
       
   105     public:     // Friend classes
       
   106     protected:  // Friend classes
       
   107     private:    // Friend classes
       
   108 
       
   109 	};
       
   110 
       
   111 #endif      // G711ENCODERINTFCPROXY_STUB_H
       
   112             
       
   113 // End of File