multimediacommscontroller/tsrc/mmfstub/src/G711EncoderIntfcProxy_STUB.cpp
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2002-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:    Interface proxy for G711 encoder.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 // INCLUDE FILES
       
    22 #include "G711EncoderIntfcProxy_STUB.h"
       
    23 //#include "G711EncoderIntfcMsgs.h"
       
    24 #include <CustomCommandUtility.h>
       
    25 #include <CustomInterfaceUtility.h>
       
    26 
       
    27 // EXTERNAL DATA STRUCTURES
       
    28 
       
    29 // EXTERNAL FUNCTION PROTOTYPES  
       
    30 
       
    31 // CONSTANTS
       
    32 
       
    33 // MACROS
       
    34 
       
    35 // LOCAL CONSTANTS AND MACROS
       
    36 
       
    37 // MODULE DATA STRUCTURES
       
    38 
       
    39 // LOCAL FUNCTION PROTOTYPES
       
    40 
       
    41 // FORWARD DECLARATIONS
       
    42 
       
    43 // ============================= LOCAL FUNCTIONS ===============================
       
    44 
       
    45 // ================= MEMBER FUNCTIONS =======================
       
    46 
       
    47 // -----------------------------------------------------------------------------
       
    48 // CG711EncoderIntfcProxy_STUB::CG711EncoderIntfcProxy_STUB
       
    49 // C++ default constructor can NOT contain any code, that
       
    50 // might leave.
       
    51 // -----------------------------------------------------------------------------
       
    52 //
       
    53 CG711EncoderIntfcProxy_STUB::CG711EncoderIntfcProxy_STUB( )
       
    54     {
       
    55     }
       
    56 
       
    57 
       
    58 // -----------------------------------------------------------------------------
       
    59 // CG711EncoderIntfcProxy_STUB::ConstructL
       
    60 // Symbian 2nd phase constructor can leave.
       
    61 // -----------------------------------------------------------------------------
       
    62 //
       
    63 void CG711EncoderIntfcProxy_STUB::ConstructL()
       
    64     {
       
    65     }
       
    66 
       
    67 // -----------------------------------------------------------------------------
       
    68 // CG711EncoderIntfcProxy_STUB::NewL
       
    69 // Two-phased constructor.
       
    70 // -----------------------------------------------------------------------------
       
    71 //
       
    72 EXPORT_C CG711EncoderIntfcProxy_STUB* CG711EncoderIntfcProxy_STUB::NewL()
       
    73     {
       
    74     CG711EncoderIntfcProxy_STUB* self = new(ELeave) CG711EncoderIntfcProxy_STUB();
       
    75     CleanupStack::PushL( self );
       
    76     self->ConstructL();
       
    77     CleanupStack::Pop( self );
       
    78     return self;
       
    79     }
       
    80     
       
    81 // Destructor
       
    82 EXPORT_C CG711EncoderIntfcProxy_STUB::~CG711EncoderIntfcProxy_STUB()
       
    83     {
       
    84     }
       
    85 
       
    86 // ---------------------------------------------------------
       
    87 // CG711EncoderIntfcProxy_STUB::SetEncoderMode
       
    88 // Sends the custom command for this function to its message handler.
       
    89 // (other items were commented in a header).
       
    90 // ---------------------------------------------------------
       
    91 //
       
    92 EXPORT_C TInt CG711EncoderIntfcProxy_STUB::SetEncoderMode(TEncodeMode /*aEncodeMode*/)
       
    93     {
       
    94 	return KErrNone;
       
    95     }
       
    96     
       
    97 // ---------------------------------------------------------
       
    98 // CG711EncoderIntfcProxy_STUB::SetVadMode
       
    99 // Sends the custom command for this function to its message handler.
       
   100 // (other items were commented in a header).
       
   101 // ---------------------------------------------------------
       
   102 //
       
   103 EXPORT_C TInt CG711EncoderIntfcProxy_STUB::SetVadMode(TBool /*aVadMode*/)
       
   104 	{
       
   105 	return KErrNone;
       
   106 	}
       
   107 
       
   108 // ---------------------------------------------------------
       
   109 // CG711EncoderIntfcProxy_STUB::GetVadMode
       
   110 // Sends the custom command for this function to its message handler.
       
   111 // (other items were commented in a header).
       
   112 // ---------------------------------------------------------
       
   113 //
       
   114 EXPORT_C TInt CG711EncoderIntfcProxy_STUB::GetVadMode(TBool& /*aVadMode*/)
       
   115 	{
       
   116 	return KErrNone;
       
   117 	}
       
   118 
       
   119 // End of File