equal
deleted
inserted
replaced
106 |
106 |
107 // --------------------------------------------------------------------------- |
107 // --------------------------------------------------------------------------- |
108 // Stops closing the objects in the close list |
108 // Stops closing the objects in the close list |
109 // --------------------------------------------------------------------------- |
109 // --------------------------------------------------------------------------- |
110 // |
110 // |
111 TInt CDunCloseWait::Stop() |
111 void CDunCloseWait::Stop() |
112 { |
112 { |
113 FTRACE(FPrint( _L("CDunCloseWait::Stop()" ))); |
113 FTRACE(FPrint( _L("CDunCloseWait::Stop()" ))); |
114 if ( !IsActive() ) |
|
115 { |
|
116 FTRACE(FPrint( _L("CDunCloseWait::Stop() (not ready) complete" ))); |
|
117 return KErrNotReady; |
|
118 } |
|
119 Cancel(); |
114 Cancel(); |
120 FTRACE(FPrint( _L("CDunCloseWait::Stop() complete" ))); |
115 FTRACE(FPrint( _L("CDunCloseWait::Stop() complete" ))); |
121 return KErrNone; |
|
122 } |
116 } |
123 |
117 |
124 // --------------------------------------------------------------------------- |
118 // --------------------------------------------------------------------------- |
125 // CDunCloseWait::CDunCloseWait |
119 // CDunCloseWait::CDunCloseWait |
126 // --------------------------------------------------------------------------- |
120 // --------------------------------------------------------------------------- |
173 // Gets called on cancel |
167 // Gets called on cancel |
174 // --------------------------------------------------------------------------- |
168 // --------------------------------------------------------------------------- |
175 // |
169 // |
176 void CDunCloseWait::DoCancel() |
170 void CDunCloseWait::DoCancel() |
177 { |
171 { |
|
172 FTRACE(FPrint( _L("CDunCloseWait::DoCancel()" ))); |
|
173 FTRACE(FPrint( _L("CDunCloseWait::DoCancel() complete" ))); |
178 } |
174 } |