bluetoothengine/btnotif/src/BTNGenericInfoNotifier.cpp
branchRCL_3
changeset 61 269724087bed
parent 56 9386f31cc85b
child 72 4b59561a31c0
equal deleted inserted replaced
56:9386f31cc85b 61:269724087bed
    95     TPtrC8 ret(KNullDesC8);
    95     TPtrC8 ret(KNullDesC8);
    96     return (ret);
    96     return (ret);
    97     }
    97     }
    98 
    98 
    99 // ----------------------------------------------------------
    99 // ----------------------------------------------------------
   100 // CBTGenericInfoNotifier::GetParamsL
   100 // CBTGenericInfoNotifier::ProcessStartParamsL
   101 // Mandatory for BT Notifiers when using asynchronous launch. 
   101 // Mandatory for BT Notifiers when using asynchronous launch. 
   102 // ----------------------------------------------------------
   102 // ----------------------------------------------------------
   103 //
   103 //
   104 void CBTGenericInfoNotifier::GetParamsL(const TDesC8& aBuffer, 
   104 void CBTGenericInfoNotifier::ProcessStartParamsL()
   105                                      TInt /*aReplySlot*/, 
   105     {
   106                                      const RMessagePtr2& aMessage )
   106 	FLOG(_L("[BTNOTIF]\t CBTGenericInfoNotifier::ProcessStartParamsL"));  
   107     {
   107  	ProcessParamBufferL(*iParamBuffer, EFalse);
   108 	FLOG(_L("[BTNOTIF]\t CBTGenericInfoNotifier::GetParamsL"));  
       
   109 	if (!iMessage.IsNull())
       
   110 	    {
       
   111 	    aMessage.Complete(KErrInUse);
       
   112 	    return;
       
   113 	    }
       
   114     iMessage = aMessage;
       
   115  	ProcessParamBufferL(aBuffer, EFalse);
       
   116     }
   108     }
   117 
   109 
   118 // ----------------------------------------------------------
   110 // ----------------------------------------------------------
   119 // CBTGenericInfoNotifier::ProcessParamBufferL
   111 // CBTGenericInfoNotifier::ProcessParamBufferL
   120 // Parse the data out of the message that is sent by the
   112 // Parse the data out of the message that is sent by the