--- a/bluetoothengine/btnotif/src/BTNPBAPPinNotifier.cpp Wed Sep 15 12:23:51 2010 +0300
+++ b/bluetoothengine/btnotif/src/BTNPBAPPinNotifier.cpp Wed Oct 13 14:43:49 2010 +0300
@@ -80,14 +80,22 @@
}
// ----------------------------------------------------------
-// CBTPBAPPinNotifier::ProcessStartParamsL
+// CBTPBAPPinNotifier::GetParamsL
// Initialize parameters. Jump to RunL as soon as possible.
// ----------------------------------------------------------
//
-void CBTPBAPPinNotifier::ProcessStartParamsL()
+void CBTPBAPPinNotifier::GetParamsL(const TDesC8& /* aBuffer */, TInt aReplySlot, const RMessagePtr2& aMessage)
{
- FLOG(_L("[BTNOTIF]\t CBTPBAPPinNotifier::ProcessStartParamsL()"));
+ FLOG(_L("[BTNOTIF]\t CBTPBAPPinNotifier::GetParamsL()"));
+ if( !iMessage.IsNull())
+ {
+ User::Leave(KErrInUse);
+ }
+
+ iMessage = aMessage;
+ iReplySlot = aReplySlot;
+
if ( AutoLockOnL() )
{
// The phone is locked, access denied.
@@ -98,7 +106,7 @@
ShowNoteCompleteMessageL();
- FLOG(_L("[BTNOTIF]\t CBTPBAPPinNotifier::ProcessStartParamsL() completed"));
+ FLOG(_L("[BTNOTIF]\t CBTPBAPPinNotifier::GetParamsL() completed"));
}
// ----------------------------------------------------------