diff -r 80975da52420 -r 43d09473c595 mmserv/radioutility/radio_utility/src/RadioPlayerUtility.cpp --- a/mmserv/radioutility/radio_utility/src/RadioPlayerUtility.cpp Mon May 03 12:59:52 2010 +0300 +++ b/mmserv/radioutility/radio_utility/src/RadioPlayerUtility.cpp Fri May 14 16:22:35 2010 +0300 @@ -19,6 +19,7 @@ #include #include "RadioPlayerUtilityBody.h" #include "RadioSession.h" +#include "trace.h" // ======== MEMBER FUNCTIONS ======== @@ -31,6 +32,7 @@ RRadioSession& aRadioSession, MRadioPlayerObserver& aObserver) { + FUNC_LOG; CRadioPlayerUtility* self = new(ELeave) CRadioPlayerUtility; CleanupStack::PushL(self); self->iBody = CRadioPlayerUtility::CBody::NewL(aRadioSession, aObserver); @@ -45,6 +47,7 @@ // EXPORT_C CRadioPlayerUtility::~CRadioPlayerUtility() { + FUNC_LOG; delete iBody; } @@ -55,6 +58,7 @@ // CRadioPlayerUtility::CRadioPlayerUtility() { + FUNC_LOG; } // ----------------------------------------------------------------------------- @@ -64,6 +68,7 @@ // EXPORT_C TPlayerState CRadioPlayerUtility::PlayerState() const { + FUNC_LOG; TPlayerState playerState; ASSERT(iBody); iBody->PlayerState(playerState); @@ -79,6 +84,7 @@ // EXPORT_C void CRadioPlayerUtility::Close() { + FUNC_LOG; ASSERT(iBody); iBody->Close(); } @@ -91,6 +97,7 @@ // EXPORT_C void CRadioPlayerUtility::Play() { + FUNC_LOG; ASSERT(iBody); iBody->Play(); } @@ -103,6 +110,7 @@ // EXPORT_C void CRadioPlayerUtility::Stop() { + FUNC_LOG; ASSERT(iBody); iBody->Stop(); } @@ -115,6 +123,7 @@ // EXPORT_C TInt CRadioPlayerUtility::Mute(TBool aMute) { + FUNC_LOG; ASSERT(iBody); return iBody->Mute(aMute); } @@ -127,6 +136,7 @@ // EXPORT_C TBool CRadioPlayerUtility::IsMute() { + FUNC_LOG; ASSERT(iBody); return iBody->IsMute(); } @@ -140,6 +150,7 @@ // EXPORT_C TInt CRadioPlayerUtility::SetVolume(TInt aVolume) { + FUNC_LOG; ASSERT(iBody); return iBody->SetVolume(aVolume); } @@ -152,6 +163,7 @@ // EXPORT_C TInt CRadioPlayerUtility::GetVolume(TInt& aVolume) const { + FUNC_LOG; ASSERT(iBody); return iBody->GetVolume(aVolume); } @@ -165,6 +177,7 @@ EXPORT_C TInt CRadioPlayerUtility::SetVolumeRamp( const TTimeIntervalMicroSeconds& aRampInterval) { + FUNC_LOG; ASSERT(iBody); return iBody->SetVolumeRamp(aRampInterval); } @@ -178,6 +191,7 @@ EXPORT_C TInt CRadioPlayerUtility::GetMaxVolume( TInt& aMaxVolume ) const { + FUNC_LOG; ASSERT(iBody); return iBody->GetMaxVolume(aMaxVolume); } @@ -192,6 +206,7 @@ TInt aLeftPercentage, TInt aRightPercentage ) { + FUNC_LOG; ASSERT(iBody); return iBody->SetBalance(aLeftPercentage, aRightPercentage); } @@ -206,6 +221,7 @@ TInt& aLeftPercentage, TInt& aRightPercentage ) const { + FUNC_LOG; ASSERT(iBody); return iBody->GetBalance(aLeftPercentage, aRightPercentage); } @@ -219,6 +235,7 @@ EXPORT_C TAny* CRadioPlayerUtility::CustomInterface( TUid aInterfaceId ) { + FUNC_LOG; ASSERT(iBody); return iBody->CustomInterface(aInterfaceId); }