diff -r 9386f31cc85b -r 269724087bed bluetoothengine/btnotif/src/BTNInqNotifier.cpp --- a/bluetoothengine/btnotif/src/BTNInqNotifier.cpp Wed Sep 01 12:20:04 2010 +0100 +++ b/bluetoothengine/btnotif/src/BTNInqNotifier.cpp Tue Sep 14 21:37:10 2010 +0300 @@ -77,30 +77,21 @@ } // ---------------------------------------------------------- -// CBTInqNotifier::GetParamsL +// CBTInqNotifier::ProcessStartParamsL // Initialize parameters and launch device search. // ---------------------------------------------------------- // -void CBTInqNotifier::GetParamsL(const TDesC8& aBuffer, TInt aReplySlot, const RMessagePtr2& aMessage) +void CBTInqNotifier::ProcessStartParamsL() { - FLOG(_L("[BTNOTIF]\t CBTInqNotifier::GetParamsL()")); + FLOG(_L("[BTNOTIF]\t CBTInqNotifier::ProcessStartParamsL()")); - if( !iMessage.IsNull() ) - { - aMessage.Complete(KErrInUse); - return; - } - - iMessage = aMessage; - iReplySlot = aReplySlot; - TBTDeviceClass cod; TBTDeviceSelectionParamsPckg pckg; - pckg.Copy(aBuffer); + pckg.Copy(*iParamBuffer); LaunchInquiryL(pckg().DeviceClass()); - FLOG(_L("[BTNOTIF]\t CBTInqNotifier::GetParamsL() completed ")); + FLOG(_L("[BTNOTIF]\t CBTInqNotifier::ProcessStartParamsL() completed ")); } // ----------------------------------------------------------