equal
deleted
inserted
replaced
97 CObexUtilsDialog::~CObexUtilsDialog() |
97 CObexUtilsDialog::~CObexUtilsDialog() |
98 { |
98 { |
99 FLOG(_L("[OBEXUTILS]\t CObexUtilsDialog::~CObexUtilsDialog()")); |
99 FLOG(_L("[OBEXUTILS]\t CObexUtilsDialog::~CObexUtilsDialog()")); |
100 |
100 |
101 CCoeEnv::Static()->DeleteResourceFile( iResourceFileId ); |
101 CCoeEnv::Static()->DeleteResourceFile( iResourceFileId ); |
102 delete iProgressDialog; |
|
103 delete iObexDialogTimer; |
102 delete iObexDialogTimer; |
104 delete iWaitDialog; |
|
105 |
103 |
106 FLOG(_L("[OBEXUTILS]\t CObexUtilsDialog::~CObexUtilsDialog() completed")); |
104 FLOG(_L("[OBEXUTILS]\t CObexUtilsDialog::~CObexUtilsDialog() completed")); |
107 } |
105 } |
108 |
106 |
109 // ----------------------------------------------------------------------------- |
107 // ----------------------------------------------------------------------------- |
166 // |
164 // |
167 User::Leave( KErrInUse ); |
165 User::Leave( KErrInUse ); |
168 } |
166 } |
169 |
167 |
170 iWaitDialog = new( ELeave ) CAknWaitDialog( |
168 iWaitDialog = new( ELeave ) CAknWaitDialog( |
171 ( reinterpret_cast<CEikDialog**>( &iWaitDialog ) ), ETrue ); |
169 ( reinterpret_cast<CEikDialog**>( &iWaitDialog ) ), EFalse ); |
|
170 |
172 iWaitDialog->SetCallback( this ); |
171 iWaitDialog->SetCallback( this ); |
173 PrepareDialogExecuteL( aResId, iWaitDialog ); |
172 PrepareDialogExecuteL( aResId, iWaitDialog ); |
174 iWaitDialog->ExecuteLD( aResId ); |
173 iWaitDialog->ExecuteLD( aResId ); |
175 |
174 |
176 FLOG(_L("[OBEXUTILS]\t CObexUtilsDialog::LaunchWaitDialogL() completed")); |
175 FLOG(_L("[OBEXUTILS]\t CObexUtilsDialog::LaunchWaitDialogL() completed")); |
183 { |
182 { |
184 FLOG(_L("[OBEXUTILS]\t CObexUtilsDialog::CancelWaitDialogL()")); |
183 FLOG(_L("[OBEXUTILS]\t CObexUtilsDialog::CancelWaitDialogL()")); |
185 |
184 |
186 if( iWaitDialog ) |
185 if( iWaitDialog ) |
187 { |
186 { |
|
187 iWaitDialog->SetCallback(NULL); |
188 iWaitDialog->ProcessFinishedL(); |
188 iWaitDialog->ProcessFinishedL(); |
|
189 iWaitDialog = NULL; |
189 } |
190 } |
190 |
191 |
191 FLOG(_L("[OBEXUTILS]\t CObexUtilsDialog::CancelWaitDialogL() completed")); |
192 FLOG(_L("[OBEXUTILS]\t CObexUtilsDialog::CancelWaitDialogL() completed")); |
192 } |
193 } |
193 |
194 |