bluetoothengine/btnotif/src/BTNGenericInfoNotifier.cpp
branchRCL_3
changeset 72 4b59561a31c0
parent 61 269724087bed
--- a/bluetoothengine/btnotif/src/BTNGenericInfoNotifier.cpp	Wed Sep 15 12:23:51 2010 +0300
+++ b/bluetoothengine/btnotif/src/BTNGenericInfoNotifier.cpp	Wed Oct 13 14:43:49 2010 +0300
@@ -97,14 +97,22 @@
     }
 
 // ----------------------------------------------------------
-// CBTGenericInfoNotifier::ProcessStartParamsL
+// CBTGenericInfoNotifier::GetParamsL
 // Mandatory for BT Notifiers when using asynchronous launch. 
 // ----------------------------------------------------------
 //
-void CBTGenericInfoNotifier::ProcessStartParamsL()
+void CBTGenericInfoNotifier::GetParamsL(const TDesC8& aBuffer, 
+                                     TInt /*aReplySlot*/, 
+                                     const RMessagePtr2& aMessage )
     {
-	FLOG(_L("[BTNOTIF]\t CBTGenericInfoNotifier::ProcessStartParamsL"));  
- 	ProcessParamBufferL(*iParamBuffer, EFalse);
+	FLOG(_L("[BTNOTIF]\t CBTGenericInfoNotifier::GetParamsL"));  
+	if (!iMessage.IsNull())
+	    {
+	    aMessage.Complete(KErrInUse);
+	    return;
+	    }
+    iMessage = aMessage;
+ 	ProcessParamBufferL(aBuffer, EFalse);
     }
 
 // ----------------------------------------------------------