75 iInfo.iPriority=ENotifierPriorityVHigh; // User input level |
75 iInfo.iPriority=ENotifierPriorityVHigh; // User input level |
76 return iInfo; |
76 return iInfo; |
77 } |
77 } |
78 |
78 |
79 // ---------------------------------------------------------- |
79 // ---------------------------------------------------------- |
80 // CBTInqNotifier::ProcessStartParamsL |
80 // CBTInqNotifier::GetParamsL |
81 // Initialize parameters and launch device search. |
81 // Initialize parameters and launch device search. |
82 // ---------------------------------------------------------- |
82 // ---------------------------------------------------------- |
83 // |
83 // |
84 void CBTInqNotifier::ProcessStartParamsL() |
84 void CBTInqNotifier::GetParamsL(const TDesC8& aBuffer, TInt aReplySlot, const RMessagePtr2& aMessage) |
85 { |
85 { |
86 FLOG(_L("[BTNOTIF]\t CBTInqNotifier::ProcessStartParamsL()")); |
86 FLOG(_L("[BTNOTIF]\t CBTInqNotifier::GetParamsL()")); |
87 |
87 |
|
88 if( !iMessage.IsNull() ) |
|
89 { |
|
90 aMessage.Complete(KErrInUse); |
|
91 return; |
|
92 } |
|
93 |
|
94 iMessage = aMessage; |
|
95 iReplySlot = aReplySlot; |
|
96 |
88 TBTDeviceClass cod; |
97 TBTDeviceClass cod; |
89 TBTDeviceSelectionParamsPckg pckg; |
98 TBTDeviceSelectionParamsPckg pckg; |
90 pckg.Copy(*iParamBuffer); |
99 pckg.Copy(aBuffer); |
91 |
100 |
92 LaunchInquiryL(pckg().DeviceClass()); |
101 LaunchInquiryL(pckg().DeviceClass()); |
93 |
102 |
94 FLOG(_L("[BTNOTIF]\t CBTInqNotifier::ProcessStartParamsL() completed ")); |
103 FLOG(_L("[BTNOTIF]\t CBTInqNotifier::GetParamsL() completed ")); |
95 } |
104 } |
96 |
105 |
97 // ---------------------------------------------------------- |
106 // ---------------------------------------------------------- |
98 // CBTInqNotifier::NotifyDeviceSearchCompleted |
107 // CBTInqNotifier::NotifyDeviceSearchCompleted |
99 // Notified by InquiryUI, return to caller by completing message |
108 // Notified by InquiryUI, return to caller by completing message |