equal
deleted
inserted
replaced
57 // |
57 // |
58 CBTInqNotifier::~CBTInqNotifier() |
58 CBTInqNotifier::~CBTInqNotifier() |
59 { |
59 { |
60 FLOG(_L("[BTNOTIF]\t CBTInqNotifier::~CBTInqNotifier()")); |
60 FLOG(_L("[BTNOTIF]\t CBTInqNotifier::~CBTInqNotifier()")); |
61 delete iUi; |
61 delete iUi; |
|
62 iUi = NULL; |
62 FLOG(_L("[BTNOTIF]\t CBTInqNotifier::~CBTInqNotifier() completed")); |
63 FLOG(_L("[BTNOTIF]\t CBTInqNotifier::~CBTInqNotifier() completed")); |
63 } |
64 } |
64 |
65 |
65 // ---------------------------------------------------------- |
66 // ---------------------------------------------------------- |
66 // CBTInqNotifier::RegisterL |
67 // CBTInqNotifier::RegisterL |
82 // |
83 // |
83 void CBTInqNotifier::GetParamsL(const TDesC8& aBuffer, TInt aReplySlot, const RMessagePtr2& aMessage) |
84 void CBTInqNotifier::GetParamsL(const TDesC8& aBuffer, TInt aReplySlot, const RMessagePtr2& aMessage) |
84 { |
85 { |
85 FLOG(_L("[BTNOTIF]\t CBTInqNotifier::GetParamsL()")); |
86 FLOG(_L("[BTNOTIF]\t CBTInqNotifier::GetParamsL()")); |
86 |
87 |
87 if( iUi || iReplySlot!=NULL || !iMessage.IsNull() ) |
88 if( !iMessage.IsNull() ) |
88 { |
89 { |
89 aMessage.Complete(KErrInUse); |
90 aMessage.Complete(KErrInUse); |
90 return; |
91 return; |
91 } |
92 } |
92 |
93 |
122 { |
123 { |
123 FLOG(_L("[BTNOTIF]\t CBTInqNotifier::Cancel()")); |
124 FLOG(_L("[BTNOTIF]\t CBTInqNotifier::Cancel()")); |
124 if( iUi ) |
125 if( iUi ) |
125 { |
126 { |
126 iUi->Cancel(); |
127 iUi->Cancel(); |
|
128 delete iUi; |
|
129 iUi = NULL; |
127 } |
130 } |
128 CBTNotifierBase::Cancel(); |
131 CBTNotifierBase::Cancel(); |
129 FLOG(_L("[BTNOTIF]\t CBTInqNotifier::Cancel() completed")); |
132 FLOG(_L("[BTNOTIF]\t CBTInqNotifier::Cancel() completed")); |
130 } |
133 } |
131 |
134 |