diff -r 71ca22bcf22a -r 4f62049db6ac mmmw_plat/voip_audio_services_api/inc/voipdownlinkstream.h --- a/mmmw_plat/voip_audio_services_api/inc/voipdownlinkstream.h Tue Feb 02 01:08:46 2010 +0200 +++ b/mmmw_plat/voip_audio_services_api/inc/voipdownlinkstream.h Fri Feb 19 23:19:48 2010 +0200 @@ -1,20 +1,19 @@ /* -* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: Defines VoIP downlink stream APIs. -* -*/ - + * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). + * All rights reserved. + * This component and the accompanying materials are made available + * under the terms of "Eclipse Public License v1.0" + * which accompanies this distribution, and is available + * at the URL "http://www.eclipse.org/legal/epl-v10.html". + * + * Initial Contributors: + * Nokia Corporation - initial contribution. + * + * Contributors: + * + * Description: Defines VoIP downlink stream APIs. + * + */ #ifndef __VOIPDOWNLINKSTREAM_H #define __VOIPDOWNLINKSTREAM_H @@ -22,7 +21,6 @@ #include #include - // FORWARD DECLARATIONS class CVoIPAudioDownlinkStream; class CVoIPAudioDownlinkStreamImpl; @@ -35,14 +33,14 @@ * ?more_complete_description * * @lib VoIPAudioIntfc.dll - * @since S60 v5.0 + * */ class MVoIPDownlinkObserver { public: - static const TUint KOpenComplete = 1; - static const TUint KDownlinkError = 2; - static const TUint KDownlinkClosed = 3; + static const TUint KOpenComplete = 1; + static const TUint KDownlinkError = 2; + static const TUint KDownlinkClosed = 3; static const TUint KAudioDeviceChanged = 4; public: @@ -55,7 +53,7 @@ * @return void */ virtual void FillBuffer(const CVoIPAudioDownlinkStream& aSrc, - CVoIPDataBuffer* aBuffer) = 0; + CVoIPDataBuffer* aBuffer) = 0; /** * ?description * @@ -65,19 +63,17 @@ * @param TInt - Status * @return void */ - virtual void Event(const CVoIPAudioDownlinkStream& aSrc, - TInt aEventType, - TInt aError) = 0; + virtual void Event(const CVoIPAudioDownlinkStream& aSrc, TInt aEventType, + TInt aError) = 0; }; - /** * CVoIPAudioDownlinkStream class * * ?more_complete_description * * @lib VoIPAudioIntfc.dll - * @since S60 v5.0 + * */ class CVoIPAudioDownlinkStream { @@ -85,7 +81,7 @@ /** * TVoIPOutputDevice * ?description - * @since S60 v5.0 + * */ enum TVoIPOutputDevice { @@ -158,7 +154,7 @@ * @return TInt */ IMPORT_C TInt SetFormat(TVoIPCodecFormat aFormat, - CVoIPFormatIntfc*& aIntfc); + CVoIPFormatIntfc*& aIntfc); /** * ?description @@ -232,8 +228,8 @@ * @param none * @return TInt */ - void ConstructL( - CVoIPAudioDownlinkStreamImpl* aVoIPAudioDownlinkStreamImpl); + void ConstructL( + CVoIPAudioDownlinkStreamImpl* aVoIPAudioDownlinkStreamImpl); private: /** @@ -249,5 +245,4 @@ #endif //__VOIPDOWNLINKSTREAM_H - // End of file