bluetoothengine/btnotif/src/BTNGenericQueryNotifier.cpp
branchRCL_3
changeset 61 269724087bed
parent 56 9386f31cc85b
child 72 4b59561a31c0
equal deleted inserted replaced
56:9386f31cc85b 61:269724087bed
   133     return (ret);
   133     return (ret);
   134 
   134 
   135     }
   135     }
   136 
   136 
   137 // ----------------------------------------------------------
   137 // ----------------------------------------------------------
   138 // CBTGenericQueryNotifier::GetParamsL
   138 // CBTGenericQueryNotifier::ProcessStartParamsL
   139 // Mandatory for BT Notifiers when using asynchronous launch.
   139 // Mandatory for BT Notifiers when using asynchronous launch.
   140 // This notifier is synchronous so no implementation is needed.
   140 // This notifier is synchronous so no implementation is needed.
   141 // ----------------------------------------------------------
   141 // ----------------------------------------------------------
   142 //
   142 //
   143 void CBTGenericQueryNotifier::GetParamsL(const TDesC8& aBuffer,
   143 void CBTGenericQueryNotifier::ProcessStartParamsL()
   144                                      TInt aReplySlot,
   144     {
   145                                      const RMessagePtr2& aMessage)
   145    	FLOG(_L("[BTNOTIF]\t CBTGenericQueryNotifier::ProcessStartParamsL"));
   146     {
   146 
   147    	FLOG(_L("[BTNOTIF]\t CBTGenericQueryNotifier::GetParamsL"));
   147 	ProcessParamBufferL(*iParamBuffer);
   148 
       
   149    	if (iMessage.Handle())
       
   150    	    {
       
   151    	    aMessage.Complete(KErrInUse);
       
   152    	    return;
       
   153    	    }
       
   154 
       
   155 	ProcessParamBufferL(aBuffer);
       
   156 
       
   157     iMessage = aMessage;
       
   158     iReplySlot = aReplySlot;
       
   159 
   148 
   160     ShowQueryAndCompleteL();
   149     ShowQueryAndCompleteL();
   161 
   150 
   162    	FLOG(_L("[BTNOTIF]\t CBTGenericQueryNotifier::GetParamsL Complete"));
   151    	FLOG(_L("[BTNOTIF]\t CBTGenericQueryNotifier::ProcessStartParamsL Complete"));
   163     }
   152     }
   164 
   153 
   165 // ----------------------------------------------------------
   154 // ----------------------------------------------------------
   166 // CBTGenericQueryNotifier::ProcessParamBufferL
   155 // CBTGenericQueryNotifier::ProcessParamBufferL
   167 // Parse the data out of the message that is sent by the
   156 // Parse the data out of the message that is sent by the