bluetoothengine/btnotif/src/BTNPwrNotifier.cpp
branchRCL_3
changeset 72 4b59561a31c0
parent 61 269724087bed
--- a/bluetoothengine/btnotif/src/BTNPwrNotifier.cpp	Wed Sep 15 12:23:51 2010 +0300
+++ b/bluetoothengine/btnotif/src/BTNPwrNotifier.cpp	Wed Oct 13 14:43:49 2010 +0300
@@ -72,16 +72,22 @@
     }
 
 // ----------------------------------------------------------
-// CBTPwrNotifier::ProcessStartParamsL
+// CBTPwrNotifier::GetParamsL
 // Initialize parameters. Jump to RunL as soon as possible.
 // ----------------------------------------------------------
 //
-void CBTPwrNotifier::ProcessStartParamsL()
+void CBTPwrNotifier::GetParamsL(const TDesC8& /*aBuffer*/, TInt aReplySlot, const RMessagePtr2& aMessage)
     {
-    FLOG(_L("[BTNOTIF]\t CBTPwrNotifier::ProcessStartParamsL()"));
+    FLOG(_L("[BTNOTIF]\t CBTPwrNotifier::GetParamsL()"));
+
+    if( iReplySlot!=NULL || !iMessage.IsNull() )
+        User::Leave(KErrInUse);
+
+    iMessage = aMessage;
+    iReplySlot = aReplySlot;
 
     ShowNoteAndCompleteMessageL();
-    FLOG(_L("[BTNOTIF]\t CBTPwrNotifier::ProcessStartParamsL() completed"));
+    FLOG(_L("[BTNOTIF]\t CBTPwrNotifier::GetParamsL() completed"));
     }
 
 // ----------------------------------------------------------