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