diff -r 6df133bd92e1 -r 075425b8d9a4 radioengine/utils/src/cradioremcontargetimp.cpp --- a/radioengine/utils/src/cradioremcontargetimp.cpp Fri Jun 04 10:21:36 2010 +0100 +++ b/radioengine/utils/src/cradioremcontargetimp.cpp Fri Jun 11 13:38:32 2010 +0300 @@ -37,6 +37,7 @@ // CRadioRemConTargetImp::CRadioRemConTargetImp() { + LEVEL3( LOG_METHOD_AUTO ); } // --------------------------------------------------------------------------- @@ -45,6 +46,7 @@ // void CRadioRemConTargetImp::ConstructL() { + LEVEL3( LOG_METHOD_AUTO ); RadioEngineUtils::InitializeL(); // Create interface selector. iInterfaceSelector = CRemConInterfaceSelector::NewL(); @@ -64,6 +66,7 @@ // CRadioRemConTargetImp* CRadioRemConTargetImp::NewL() { + LEVEL3( LOG_METHOD_AUTO ); CRadioRemConTargetImp* self = new ( ELeave ) CRadioRemConTargetImp(); CleanupStack::PushL( self ); self->ConstructL(); @@ -77,6 +80,7 @@ // CRadioRemConTargetImp::~CRadioRemConTargetImp() { + LEVEL3( LOG_METHOD_AUTO ); if ( iRepeatTimer ) { iRepeatTimer->Cancel(); @@ -94,6 +98,7 @@ // void CRadioRemConTargetImp::SetControlEventObserver( MRadioControlEventObserver* aControlEventObserver ) { + LEVEL3( LOG_METHOD_AUTO ); iObserver = aControlEventObserver; } @@ -104,7 +109,8 @@ void CRadioRemConTargetImp::MrccatoCommand( TRemConCoreApiOperationId aOperationId, TRemConCoreApiButtonAction aButtonAct ) { - LOG_FORMAT( "CRadioRemConTargetImp::MrccatoCommand ( aOperationId = %d, aButtonAct = %d )", aOperationId, aButtonAct ); + LOG_METHOD_AUTO; + LOG_FORMAT( "aOperationId = %d, aButtonAct = %d", aOperationId, aButtonAct ); //TODO: Refactor if ( iObserver ) { @@ -261,7 +267,7 @@ void CRadioRemConTargetImp::MrccatoPlay( TRemConCoreApiPlaybackSpeed /*aSpeed*/, TRemConCoreApiButtonAction aButtonAct ) { - LOG( "CRadioRemConTargetImp::MrccatoPlay" ); + LOG_METHOD_AUTO; if ( iObserver ) { if ( aButtonAct == ERemConCoreApiButtonClick ) @@ -280,7 +286,7 @@ TUint /*aMinorChannel*/, TRemConCoreApiButtonAction /*aButtonAct*/) { - LOG( "CRadioRemConTargetImp::MrccatoTuneFunction ( currently unsupported in Visual Radio )" ); + LEVEL3( LOG_METHOD_AUTO ); } // --------------------------------------------------------------------------- @@ -290,7 +296,7 @@ void CRadioRemConTargetImp::MrccatoSelectDiskFunction( TUint /*aDisk*/, TRemConCoreApiButtonAction /*aButtonAct*/) { - LOG( "CRadioRemConTargetImp::MrccatoSelectDiskFunction ( currently unsupported in Visual Radio )" ); + LEVEL3( LOG_METHOD_AUTO ); } // --------------------------------------------------------------------------- @@ -300,7 +306,7 @@ void CRadioRemConTargetImp::MrccatoSelectAvInputFunction( TUint8 /*aAvInputSignalNumber*/, TRemConCoreApiButtonAction /*aButtonAct*/) { - LOG( "CRadioRemConTargetImp::MrccatoSelectAvInputFunction ( currently unsupported in Visual Radio )" ); + LEVEL3( LOG_METHOD_AUTO ); } // --------------------------------------------------------------------------- @@ -310,7 +316,7 @@ void CRadioRemConTargetImp::MrccatoSelectAudioInputFunction( TUint8 /*aAudioInputSignalNumber*/, TRemConCoreApiButtonAction /*aButtonAct*/) { - LOG( "CRadioRemConTargetImp::MrccatoSelectAudioInputFunction ( currently unsupported in Visual Radio )" ); + LEVEL3( LOG_METHOD_AUTO ); } // --------------------------------------------------------------------------- @@ -319,7 +325,7 @@ // TInt CRadioRemConTargetImp::RepeatTimerCallback( TAny* aPtr ) { - LOG( "CRadioRemConTargetImp::RepeatTimerCallback" ); + LEVEL3( LOG_METHOD_AUTO ); CRadioRemConTargetImp* self = reinterpret_cast( aPtr ); @@ -356,7 +362,8 @@ // void CRadioRemConTargetImp::AnswerCall() { - LOG( "CRadioRemConTargetImp::AnswerCall() ( currently unsupported in Visual Radio )" ); + LEVEL3( LOG_METHOD_AUTO ); + LOG( "This function currently unsupported." ); } // --------------------------------------------------------------------------- @@ -365,7 +372,7 @@ // void CRadioRemConTargetImp::AnswerEndCall() { - LOG( "CRadioRemConTargetImp::AnswerEndCall() " ); + LEVEL3( LOG_METHOD_AUTO ); if ( iObserver ) { TRAP_IGNORE( iObserver->AnswerEndCallL()) @@ -378,7 +385,7 @@ // void CRadioRemConTargetImp::DialCall( const TDesC8& /*aTelNumber*/ ) { - LOG( "CRadioRemConTargetImp::DialCall ( currently unsupported in Visual Radio )" ); + LEVEL3( LOG_METHOD_AUTO ); } // --------------------------------------------------------------------------- @@ -387,7 +394,7 @@ // void CRadioRemConTargetImp::EndCall() { - LOG( "CRadioRemConTargetImp::EndCall() ( currently unsupported in Visual Radio )" ); + LEVEL3( LOG_METHOD_AUTO ); } // --------------------------------------------------------------------------- @@ -396,7 +403,7 @@ // void CRadioRemConTargetImp::GenerateDTMF( const TChar /*aChar*/ ) { - LOG( "CRadioRemConTargetImp::GenerateDTMF ( currently unsupported in Visual Radio )" ); + LEVEL3( LOG_METHOD_AUTO ); } // --------------------------------------------------------------------------- @@ -405,7 +412,7 @@ // void CRadioRemConTargetImp::LastNumberRedial() { - LOG( "CRadioRemConTargetImp::LastNumberRedial ( currently unsupported in Visual Radio )" ); + LEVEL3( LOG_METHOD_AUTO ); } // --------------------------------------------------------------------------- @@ -414,7 +421,7 @@ // void CRadioRemConTargetImp::MultipartyCalling( const TDesC8& /*aData*/ ) { - LOG( "CRadioRemConTargetImp::MultipartyCalling ( currently unsupported in Visual Radio )" ); + LEVEL3( LOG_METHOD_AUTO ); } // --------------------------------------------------------------------------- @@ -423,7 +430,7 @@ // void CRadioRemConTargetImp::SpeedDial( const TInt /*aIndex*/ ) { - LOG( "CRadioRemConTargetImp::SpeedDial ( currently unsupported in Visual Radio )" ); + LEVEL3( LOG_METHOD_AUTO ); } // --------------------------------------------------------------------------- @@ -432,5 +439,5 @@ // void CRadioRemConTargetImp::VoiceDial( const TBool /*aActivate*/ ) { - LOG( "CRadioRemConTargetImp::VoiceDial ( currently unsupported in Visual Radio )" ); + LEVEL3( LOG_METHOD_AUTO ); }