bluetoothengine/btnotif/src/btnpaireddevsettnotifier.cpp
branchRCL_3
changeset 72 4b59561a31c0
parent 61 269724087bed
--- a/bluetoothengine/btnotif/src/btnpaireddevsettnotifier.cpp	Wed Sep 15 12:23:51 2010 +0300
+++ b/bluetoothengine/btnotif/src/btnpaireddevsettnotifier.cpp	Wed Oct 13 14:43:49 2010 +0300
@@ -86,18 +86,27 @@
 
 
 // ----------------------------------------------------------
-// CBTPairedDevSettNotifier::ProcessStartParamsL
+// CBTPairedDevSettNotifier::GetParamsL
 // Mandatory for BT Notifiers when using asynchronous launch. 
 // This notifier is synchronous so no implementation is needed.
 // ----------------------------------------------------------
 //
-void CBTPairedDevSettNotifier::ProcessStartParamsL()
+void CBTPairedDevSettNotifier::GetParamsL(const TDesC8& aBuffer, 
+                                     TInt aReplySlot, 
+                                     const RMessagePtr2& aMessage)
     {
-   	FLOG(_L("[BTNOTIF]\t CBTPairedDevSettNotifier::ProcessStartParamsL"));    
+   	FLOG(_L("[BTNOTIF]\t CBTPairedDevSettNotifier::GetParamsL"));    
 
-	ProcessParamBufferL(*iParamBuffer); 
+    if( iReplySlot != NULL || !iMessage.IsNull())
+        {
+        User::Leave(KErrInUse);
+        }
 
-	FLOG(_L("[BTNOTIF]\t CBTPairedDevSettNotifier::ProcessStartParamsL Complete"));    
+    iMessage = aMessage;
+    iReplySlot = aReplySlot;
+	ProcessParamBufferL(aBuffer); 
+
+	FLOG(_L("[BTNOTIF]\t CBTPairedDevSettNotifier::GetParamsL Complete"));    
   	}
 
 // ----------------------------------------------------------