mmserv/voipaudioservices/VoIPIntfc/inc/VoIPG711EncoderIntfcImpl.h
changeset 53 eabc8c503852
parent 0 71ca22bcf22a
equal deleted inserted replaced
48:a493a607b5bf 53:eabc8c503852
     1 /*
     1 /*
     2 * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
     2  * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3  * All rights reserved.
     4 * This component and the accompanying materials are made available
     4  * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5  * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6  * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     8  *
     9 * Initial Contributors:
     9  * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10  * Nokia Corporation - initial contribution.
    11 *
    11  *
    12 * Contributors:
    12  * Contributors:
    13 *
    13  *
    14 * Description:  VOIP Audio Services
    14  * Description:  VOIP Audio Services
    15 *
    15  *
    16 */
    16  */
    17 
    17 
    18 
    18 #ifndef VOIPG711ENCFORMATINTFCIMPL_H
    19 #ifndef __VOIPG711ENCFORMATINTFCIMPL_H
    19 #define VOIPG711ENCFORMATINTFCIMPL_H
    20 #define __VOIPG711ENCFORMATINTFCIMPL_H
       
    21 
    20 
    22 #include <voipg711encoderintfc.h>
    21 #include <voipg711encoderintfc.h>
    23 #include "VoIPFormatIntfcImpl.h"
    22 #include "VoIPFormatIntfcImpl.h"
    24 
    23 
    25 // FORWARD DECLARATION
    24 // FORWARD DECLARATION
    27 
    26 
    28 // -----------------------------------------------------------------------------
    27 // -----------------------------------------------------------------------------
    29 // CVoIPG711EncoderIntfcImpl class
    28 // CVoIPG711EncoderIntfcImpl class
    30 // -----------------------------------------------------------------------------
    29 // -----------------------------------------------------------------------------
    31 NONSHARABLE_CLASS(CVoIPG711EncoderIntfcImpl) : public CBase,
    30 NONSHARABLE_CLASS(CVoIPG711EncoderIntfcImpl) : public CBase,
    32                                                public CVoIPG711EncoderIntfc,
    31         public CVoIPG711EncoderIntfc,
    33                                                public CVoIPFormatIntfcImpl
    32         public CVoIPFormatIntfcImpl
    34     {
    33     {
    35 public:
    34 public:
    36     static CVoIPG711EncoderIntfcImpl*
    35     static CVoIPG711EncoderIntfcImpl*
    37            NewL(CVoIPAudioUplinkStreamImpl* aUpLinkStreamImpl);
    36     NewL(CVoIPAudioUplinkStreamImpl* aUpLinkStreamImpl);
    38 
    37 
    39     virtual ~CVoIPG711EncoderIntfcImpl();
    38     virtual ~CVoIPG711EncoderIntfcImpl();
    40 
    39 
    41     TInt SetMode(CVoIPFormatIntfc::TG711CodecMode aMode);
    40     TInt SetMode(CVoIPFormatIntfc::TG711CodecMode aMode);
    42     TInt GetMode(CVoIPFormatIntfc::TG711CodecMode& aMode); //n/a through CIs
    41     TInt GetMode(CVoIPFormatIntfc::TG711CodecMode& aMode); //n/a through CIs
    43 
    42 
    44 private:
    43 private:
    45     CVoIPG711EncoderIntfcImpl();
    44     CVoIPG711EncoderIntfcImpl();
    46     void ConstructL(CVoIPAudioUplinkStreamImpl* aUpLinkStreamImpl);
    45     void ConstructL(CVoIPAudioUplinkStreamImpl* aUpLinkStreamImpl);
    47 
       
    48     };
    46     };
    49 
    47 
    50 
    48 #endif //VOIPG711ENCFORMATINTFCIMPL_H
    51 #endif //__VOIPG711ENCFORMATINTFCIMPL_H
       
    52 
    49 
    53 // End of file
    50 // End of file