mmserv/voipaudioservices/VoIPIntfc/inc/VoIPILBCEncoderIntfcImpl.h
changeset 0 71ca22bcf22a
child 53 eabc8c503852
equal deleted inserted replaced
-1:000000000000 0:71ca22bcf22a
       
     1 /*
       
     2 * Copyright (c) 2007-2008 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:  VOIP Audio Services
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __VOIPILBCENCFORMATINTFCIMPL_H
       
    20 #define __VOIPILBCENCFORMATINTFCIMPL_H
       
    21 
       
    22 #include <voipilbcencoderintfc.h>
       
    23 #include "VoIPFormatIntfcImpl.h"
       
    24 
       
    25 // FORWARD DECLARATION
       
    26 class CVoIPAudioUplinkStreamImpl;
       
    27 
       
    28 // -----------------------------------------------------------------------------
       
    29 // CVoIPILBCEncoderIntfc class
       
    30 // -----------------------------------------------------------------------------
       
    31 NONSHARABLE_CLASS(CVoIPILBCEncoderIntfcImpl) : public CBase,
       
    32                                                public CVoIPILBCEncoderIntfc,
       
    33                                                public CVoIPFormatIntfcImpl
       
    34     {
       
    35 public:
       
    36     static CVoIPILBCEncoderIntfcImpl*
       
    37            NewL(CVoIPAudioUplinkStreamImpl* aUpLinkStreamImpl);
       
    38 
       
    39     virtual ~CVoIPILBCEncoderIntfcImpl();
       
    40 
       
    41     TInt SetMode(CVoIPFormatIntfc::TILBCCodecMode aMode);
       
    42     TInt GetMode(CVoIPFormatIntfc::TILBCCodecMode& aMode); //n/a through CIs
       
    43 
       
    44 private:
       
    45     CVoIPILBCEncoderIntfcImpl();
       
    46     void ConstructL(CVoIPAudioUplinkStreamImpl* aUpLinkStreamImpl);
       
    47 
       
    48     };
       
    49 
       
    50 
       
    51 #endif //__VOIPILBCENCFORMATINTFCIMPL_H
       
    52 
       
    53 // End of file