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