70 iInfo.iPriority=ENotifierPriorityVHigh; |
70 iInfo.iPriority=ENotifierPriorityVHigh; |
71 return iInfo; |
71 return iInfo; |
72 } |
72 } |
73 |
73 |
74 // ---------------------------------------------------------- |
74 // ---------------------------------------------------------- |
75 // CBTPwrNotifier::GetParamsL |
75 // CBTPwrNotifier::ProcessStartParamsL |
76 // Initialize parameters. Jump to RunL as soon as possible. |
76 // Initialize parameters. Jump to RunL as soon as possible. |
77 // ---------------------------------------------------------- |
77 // ---------------------------------------------------------- |
78 // |
78 // |
79 void CBTPwrNotifier::GetParamsL(const TDesC8& /*aBuffer*/, TInt aReplySlot, const RMessagePtr2& aMessage) |
79 void CBTPwrNotifier::ProcessStartParamsL() |
80 { |
80 { |
81 FLOG(_L("[BTNOTIF]\t CBTPwrNotifier::GetParamsL()")); |
81 FLOG(_L("[BTNOTIF]\t CBTPwrNotifier::ProcessStartParamsL()")); |
82 |
|
83 if( iReplySlot!=NULL || !iMessage.IsNull() ) |
|
84 User::Leave(KErrInUse); |
|
85 |
|
86 iMessage = aMessage; |
|
87 iReplySlot = aReplySlot; |
|
88 |
82 |
89 ShowNoteAndCompleteMessageL(); |
83 ShowNoteAndCompleteMessageL(); |
90 FLOG(_L("[BTNOTIF]\t CBTPwrNotifier::GetParamsL() completed")); |
84 FLOG(_L("[BTNOTIF]\t CBTPwrNotifier::ProcessStartParamsL() completed")); |
91 } |
85 } |
92 |
86 |
93 // ---------------------------------------------------------- |
87 // ---------------------------------------------------------- |
94 // CBTPwrNotifier::RunL |
88 // CBTPwrNotifier::RunL |
95 // Ask user response and return it to caller. |
89 // Ask user response and return it to caller. |