diff -r 1934667b0e2b -r 4b59561a31c0 bluetoothengine/btnotif/src/BTNObexPinNotifier.cpp --- a/bluetoothengine/btnotif/src/BTNObexPinNotifier.cpp Wed Sep 15 12:23:51 2010 +0300 +++ b/bluetoothengine/btnotif/src/BTNObexPinNotifier.cpp Wed Oct 13 14:43:49 2010 +0300 @@ -72,13 +72,21 @@ } // ---------------------------------------------------------- -// CBTObexPinNotifier::ProcessStartParamsL +// CBTObexPinNotifier::GetParamsL // Initialize parameters. Jump to RunL as soon as possible. // ---------------------------------------------------------- // -void CBTObexPinNotifier::ProcessStartParamsL() +void CBTObexPinNotifier::GetParamsL(const TDesC8& /* aBuffer */, TInt aReplySlot, const RMessagePtr2& aMessage) { - FLOG(_L("[BTNOTIF]\t CBTObexPinNotifier::ProcessStartParamsL()")); + FLOG(_L("[BTNOTIF]\t CBTObexPinNotifier::GetParamsL()")); + + if( !iMessage.IsNull()) + { + User::Leave(KErrInUse); + } + + iMessage = aMessage; + iReplySlot = aReplySlot; if ( AutoLockOnL() ) { @@ -90,7 +98,7 @@ ShowNoteCompleteMessageL(); - FLOG(_L("[BTNOTIF]\t CBTObexPinNotifier::ProcessStartParamsL() completed")); + FLOG(_L("[BTNOTIF]\t CBTObexPinNotifier::GetParamsL() completed")); } // ----------------------------------------------------------