mmserv/voipaudioservices/VoIPIntfc/inc/VoIPBaseCodecIntfcImpl.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 __VOIPBASECODECINTFCIMPL_H
       
    20 #define __VOIPBASECODECINTFCIMPL_H
       
    21 
       
    22 #include <voipformatintfc.h>
       
    23 #include "VoIPFormatIntfcImpl.h"
       
    24 
       
    25 // FORWARD DECLARATION
       
    26 class CVoIPAudioDownlinkStreamImpl;
       
    27 class CVoIPAudioUplinkStreamImpl;
       
    28 
       
    29 // -----------------------------------------------------------------------------
       
    30 // CVoIPBaseCodecIntfcImpl class
       
    31 // -----------------------------------------------------------------------------
       
    32 NONSHARABLE_CLASS(CVoIPBaseCodecIntfcImpl) : public CBase,
       
    33                                              public CVoIPFormatIntfc,
       
    34                                              public CVoIPFormatIntfcImpl
       
    35     {
       
    36 public:
       
    37     static CVoIPBaseCodecIntfcImpl*
       
    38            NewL(CVoIPAudioDownlinkStreamImpl* aDnLinkStreamImpl);
       
    39 
       
    40     static CVoIPBaseCodecIntfcImpl*
       
    41            NewL(CVoIPAudioUplinkStreamImpl* auPLinkStreamImpl);
       
    42 
       
    43     virtual ~CVoIPBaseCodecIntfcImpl();
       
    44 
       
    45 private:
       
    46     CVoIPBaseCodecIntfcImpl();
       
    47 
       
    48     void ConstructL(CVoIPAudioDownlinkStreamImpl* aDnLinkStreamImpl);
       
    49     void ConstructL(CVoIPAudioUplinkStreamImpl* aDnLinkStreamImpl);
       
    50 
       
    51     };
       
    52 
       
    53 
       
    54 #endif //__VOIPBASECODECINTFCIMPL_H
       
    55 
       
    56 
       
    57 // End of file