22 #include "sisxsifcleanuputils.h" // CleanupResetAndDestroyPushL |
22 #include "sisxsifcleanuputils.h" // CleanupResetAndDestroyPushL |
23 #include "sisxsifpluginerrors.h" // Error codes |
23 #include "sisxsifpluginerrors.h" // Error codes |
24 |
24 |
25 using namespace Usif; |
25 using namespace Usif; |
26 |
26 |
|
27 #ifdef _DEBUG |
|
28 #define FLOG(x) RDebug::Print(x) |
|
29 #define FLOG_1(x,y) RDebug::Print((x),(y)) |
|
30 #define FLOG_2(x,y,z) RDebug::Print((x),(y),(z)) |
|
31 #else |
|
32 #define FLOG(x) |
|
33 #define FLOG_1(x,y) |
|
34 #define FLOG_2(x,y,z) |
|
35 #endif |
|
36 |
27 |
37 |
28 // ======== MEMBER FUNCTIONS ======== |
38 // ======== MEMBER FUNCTIONS ======== |
29 |
39 |
30 // --------------------------------------------------------------------------- |
40 // --------------------------------------------------------------------------- |
31 // CSisxSifPluginUiHandlerSilent::NewL() |
41 // CSisxSifPluginUiHandlerSilent::NewL() |
92 SetErrorL( KErrPermissionDenied, ESifUiNeedsPackageInfoParameter, aText ); |
103 SetErrorL( KErrPermissionDenied, ESifUiNeedsPackageInfoParameter, aText ); |
93 break; |
104 break; |
94 } |
105 } |
95 } |
106 } |
96 |
107 |
|
108 FLOG_1( _L("CSisxSifPluginUiHandlerSilent::DisplayText, okToContinue=%d"), okToContinue ); |
97 return okToContinue; |
109 return okToContinue; |
98 } |
110 } |
99 |
111 |
100 // --------------------------------------------------------------------------- |
112 // --------------------------------------------------------------------------- |
101 // CSisxSifPluginUiHandlerSilent::DisplayErrorL() |
113 // CSisxSifPluginUiHandlerSilent::DisplayErrorL() |
102 // --------------------------------------------------------------------------- |
114 // --------------------------------------------------------------------------- |
103 // |
115 // |
104 void CSisxSifPluginUiHandlerSilent::DisplayErrorL( const Swi::CAppInfo& /*aAppInfo*/, |
116 void CSisxSifPluginUiHandlerSilent::DisplayErrorL( const Swi::CAppInfo& /*aAppInfo*/, |
105 Swi::TErrorDialog aType, const TDesC& aParam ) |
117 Swi::TErrorDialog aType, const TDesC& aParam ) |
106 { |
118 { |
|
119 FLOG( _L("CSisxSifPluginUiHandlerSilent::DisplayErrorL") ); |
107 SetErrorSwiErrorL( aType, aParam ); |
120 SetErrorSwiErrorL( aType, aParam ); |
108 } |
121 } |
109 |
122 |
110 // --------------------------------------------------------------------------- |
123 // --------------------------------------------------------------------------- |
111 // CSisxSifPluginUiHandlerSilent::DisplayDependencyBreakL() |
124 // CSisxSifPluginUiHandlerSilent::DisplayDependencyBreakL() |
112 // --------------------------------------------------------------------------- |
125 // --------------------------------------------------------------------------- |
113 // |
126 // |
114 TBool CSisxSifPluginUiHandlerSilent::DisplayDependencyBreakL( const Swi::CAppInfo& /*aAppInfo*/, |
127 TBool CSisxSifPluginUiHandlerSilent::DisplayDependencyBreakL( const Swi::CAppInfo& /*aAppInfo*/, |
115 const RPointerArray<TDesC>& /*aComponents*/ ) |
128 const RPointerArray<TDesC>& /*aComponents*/ ) |
116 { |
129 { |
|
130 FLOG( _L("CSisxSifPluginUiHandlerSilent::DisplayDependencyBreakL") ); |
117 TBool okToContinue = EFalse; |
131 TBool okToContinue = EFalse; |
118 |
132 |
119 if( iInstallParams ) |
133 if( iInstallParams ) |
120 { |
134 { |
121 switch( iInstallParams->AllowAppBreakDependency() ) |
135 switch( iInstallParams->AllowAppBreakDependency() ) |
129 SetErrorL( KErrPermissionDenied, ESifUiNeedsAllowAppBreakDependencyParameter ); |
143 SetErrorL( KErrPermissionDenied, ESifUiNeedsAllowAppBreakDependencyParameter ); |
130 break; |
144 break; |
131 } |
145 } |
132 } |
146 } |
133 |
147 |
|
148 FLOG_1( _L("CSisxSifPluginUiHandlerSilent::DisplayDependencyBreakL, okToContinue=%d"), |
|
149 okToContinue ); |
134 return okToContinue; |
150 return okToContinue; |
135 } |
151 } |
136 |
152 |
137 // --------------------------------------------------------------------------- |
153 // --------------------------------------------------------------------------- |
138 // CSisxSifPluginUiHandlerSilent::DisplayApplicationsInUseL() |
154 // CSisxSifPluginUiHandlerSilent::DisplayApplicationsInUseL() |
139 // --------------------------------------------------------------------------- |
155 // --------------------------------------------------------------------------- |
140 // |
156 // |
141 TBool CSisxSifPluginUiHandlerSilent::DisplayApplicationsInUseL( const Swi::CAppInfo& /*aAppInfo*/, |
157 TBool CSisxSifPluginUiHandlerSilent::DisplayApplicationsInUseL( const Swi::CAppInfo& /*aAppInfo*/, |
142 const RPointerArray<TDesC>& /*aAppNames*/ ) |
158 const RPointerArray<TDesC>& /*aAppNames*/ ) |
143 { |
159 { |
|
160 FLOG( _L("CSisxSifPluginUiHandlerSilent::DisplayApplicationsInUseL") ); |
144 TBool okToContinue = EFalse; |
161 TBool okToContinue = EFalse; |
145 |
162 |
146 if( iInstallParams ) |
163 if( iInstallParams ) |
147 { |
164 { |
148 switch( iInstallParams->AllowAppShutdown() ) |
165 switch( iInstallParams->AllowAppShutdown() ) |
156 SetErrorL( KErrPermissionDenied, ESifUiNeedsAllowAppShutdownParameter ); |
173 SetErrorL( KErrPermissionDenied, ESifUiNeedsAllowAppShutdownParameter ); |
157 break; |
174 break; |
158 } |
175 } |
159 } |
176 } |
160 |
177 |
|
178 FLOG_1( _L("CSisxSifPluginUiHandlerSilent::DisplayApplicationsInUseL, okToContinue=%d"), |
|
179 okToContinue ); |
161 return okToContinue; |
180 return okToContinue; |
162 } |
181 } |
163 |
182 |
164 // --------------------------------------------------------------------------- |
183 // --------------------------------------------------------------------------- |
165 // CSisxSifPluginUiHandlerSilent::DisplayQuestionL() |
184 // CSisxSifPluginUiHandlerSilent::DisplayQuestionL() |
166 // --------------------------------------------------------------------------- |
185 // --------------------------------------------------------------------------- |
167 // |
186 // |
168 TBool CSisxSifPluginUiHandlerSilent::DisplayQuestionL( const Swi::CAppInfo& /*aAppInfo*/, |
187 TBool CSisxSifPluginUiHandlerSilent::DisplayQuestionL( const Swi::CAppInfo& /*aAppInfo*/, |
169 Swi::TQuestionDialog aQuestion, const TDesC& aDes ) |
188 Swi::TQuestionDialog aQuestion, const TDesC& aDes ) |
170 { |
189 { |
|
190 FLOG( _L("CSisxSifPluginUiHandlerSilent::DisplayQuestionL") ); |
171 TBool okToContinue = EFalse; |
191 TBool okToContinue = EFalse; |
172 |
192 |
173 switch( aQuestion ) |
193 switch( aQuestion ) |
174 { |
194 { |
175 case Swi::EQuestionIncompatible: |
195 case Swi::EQuestionIncompatible: |
254 SetErrorL( KErrPermissionDenied, ESifUiNeedsGrantCapabilitiesParameter ); |
278 SetErrorL( KErrPermissionDenied, ESifUiNeedsGrantCapabilitiesParameter ); |
255 break; |
279 break; |
256 } |
280 } |
257 } |
281 } |
258 |
282 |
|
283 FLOG_1( _L("CSisxSifPluginUiHandlerSilent::DisplayGrantCapabilitiesL, okToContinue=%d"), |
|
284 okToContinue ); |
259 return okToContinue; |
285 return okToContinue; |
260 } |
286 } |
261 |
287 |
262 // --------------------------------------------------------------------------- |
288 // --------------------------------------------------------------------------- |
263 // CSisxSifPluginUiHandlerSilent::DisplayLanguageL() |
289 // CSisxSifPluginUiHandlerSilent::DisplayLanguageL() |
264 // --------------------------------------------------------------------------- |
290 // --------------------------------------------------------------------------- |
265 // |
291 // |
266 TInt CSisxSifPluginUiHandlerSilent::DisplayLanguageL( const Swi::CAppInfo& /*aAppInfo*/, |
292 TInt CSisxSifPluginUiHandlerSilent::DisplayLanguageL( const Swi::CAppInfo& /*aAppInfo*/, |
267 const RArray<TLanguage>& aLanguages ) |
293 const RArray<TLanguage>& aLanguages ) |
268 { |
294 { |
|
295 FLOG( _L("CSisxSifPluginUiHandlerSilent::DisplayLanguageL") ); |
269 TInt languageIndex = 0; |
296 TInt languageIndex = 0; |
270 TBool found = EFalse; |
297 TBool found = EFalse; |
271 TInt languageCount = aLanguages.Count(); |
298 TInt languageCount = aLanguages.Count(); |
272 if( iInstallParams ) |
299 if( iInstallParams ) |
273 { |
300 { |
326 } |
356 } |
327 if( !found ) |
357 if( !found ) |
328 { |
358 { |
329 driveIndex = KErrNotFound; |
359 driveIndex = KErrNotFound; |
330 } |
360 } |
|
361 FLOG_1( _L("CSisxSifPluginUiHandlerSilent::DisplayDriveL, driveIndex=%d"), |
|
362 driveIndex ); |
331 return driveIndex; |
363 return driveIndex; |
332 } |
364 } |
333 |
365 |
334 // --------------------------------------------------------------------------- |
366 // --------------------------------------------------------------------------- |
335 // CSisxSifPluginUiHandlerSilent::DisplayUpgradeL() |
367 // CSisxSifPluginUiHandlerSilent::DisplayUpgradeL() |
336 // --------------------------------------------------------------------------- |
368 // --------------------------------------------------------------------------- |
337 // |
369 // |
338 TBool CSisxSifPluginUiHandlerSilent::DisplayUpgradeL( const Swi::CAppInfo& /*aAppInfo*/, |
370 TBool CSisxSifPluginUiHandlerSilent::DisplayUpgradeL( const Swi::CAppInfo& /*aAppInfo*/, |
339 const Swi::CAppInfo& /*aExistingAppInfo*/ ) |
371 const Swi::CAppInfo& /*aExistingAppInfo*/ ) |
340 { |
372 { |
|
373 FLOG( _L("CSisxSifPluginUiHandlerSilent::DisplayUpgradeL") ); |
341 TBool okToContinue = EFalse; |
374 TBool okToContinue = EFalse; |
342 if( iInstallParams ) |
375 if( iInstallParams ) |
343 { |
376 { |
344 switch( iInstallParams->AllowUpgrade() ) |
377 switch( iInstallParams->AllowUpgrade() ) |
345 { |
378 { |
351 default: |
384 default: |
352 // TODO: SetError |
385 // TODO: SetError |
353 break; |
386 break; |
354 } |
387 } |
355 } |
388 } |
|
389 FLOG_1( _L("CSisxSifPluginUiHandlerSilent::DisplayUpgradeL, okToContinue=%d"), |
|
390 okToContinue ); |
356 return okToContinue; |
391 return okToContinue; |
357 } |
392 } |
358 |
393 |
359 // --------------------------------------------------------------------------- |
394 // --------------------------------------------------------------------------- |
360 // CSisxSifPluginUiHandlerSilent::DisplayOptionsL() |
395 // CSisxSifPluginUiHandlerSilent::DisplayOptionsL() |
361 // --------------------------------------------------------------------------- |
396 // --------------------------------------------------------------------------- |
362 // |
397 // |
363 TBool CSisxSifPluginUiHandlerSilent::DisplayOptionsL( const Swi::CAppInfo& /*aAppInfo*/, |
398 TBool CSisxSifPluginUiHandlerSilent::DisplayOptionsL( const Swi::CAppInfo& /*aAppInfo*/, |
364 const RPointerArray<TDesC>& aOptions, RArray<TBool>& aSelections ) |
399 const RPointerArray<TDesC>& aOptions, RArray<TBool>& aSelections ) |
365 { |
400 { |
|
401 FLOG( _L("CSisxSifPluginUiHandlerSilent::DisplayOptionsL") ); |
366 TBool allowOptions = EFalse; |
402 TBool allowOptions = EFalse; |
367 if( iInstallParams ) |
403 if( iInstallParams ) |
368 { |
404 { |
369 switch( iInstallParams->InstallOptionalItems() ) |
405 switch( iInstallParams->InstallOptionalItems() ) |
370 { |
406 { |
380 } |
416 } |
381 for( TInt index = 0; index < aOptions.Count(); ++index ) |
417 for( TInt index = 0; index < aOptions.Count(); ++index ) |
382 { |
418 { |
383 aSelections[ index ] = allowOptions; |
419 aSelections[ index ] = allowOptions; |
384 } |
420 } |
|
421 |
|
422 FLOG_1( _L("CSisxSifPluginUiHandlerSilent::DisplayOptionsL, allowOptions=%d"), allowOptions ); |
385 return ETrue; // always ok to continue |
423 return ETrue; // always ok to continue |
386 } |
424 } |
387 |
425 |
388 // --------------------------------------------------------------------------- |
426 // --------------------------------------------------------------------------- |
389 // CSisxSifPluginUiHandlerSilent::HandleInstallEventL() |
427 // CSisxSifPluginUiHandlerSilent::HandleInstallEventL() |
390 // --------------------------------------------------------------------------- |
428 // --------------------------------------------------------------------------- |
391 // |
429 // |
392 TBool CSisxSifPluginUiHandlerSilent::HandleInstallEventL( const Swi::CAppInfo& /*aAppInfo*/, |
430 TBool CSisxSifPluginUiHandlerSilent::HandleInstallEventL( const Swi::CAppInfo& /*aAppInfo*/, |
393 Swi::TInstallEvent aEvent, TInt aValue, const TDesC& /*aDes*/ ) |
431 Swi::TInstallEvent aEvent, TInt aValue, const TDesC& /*aDes*/ ) |
394 { |
432 { |
|
433 FLOG_2( _L("CSisxSifPluginUiHandlerSilent::HandleInstallEventL, aEvent=%d, aValue=%d"), |
|
434 aEvent, aValue ); |
395 switch( aEvent ) |
435 switch( aEvent ) |
396 { |
436 { |
397 case Swi::EEventSetProgressBarFinalValue: |
437 case Swi::EEventSetProgressBarFinalValue: |
398 iProgressBarFinalValue = aValue; |
438 iProgressBarFinalValue = aValue; |
399 break; |
439 break; |
424 // |
464 // |
425 void CSisxSifPluginUiHandlerSilent::HandleCancellableInstallEventL( |
465 void CSisxSifPluginUiHandlerSilent::HandleCancellableInstallEventL( |
426 const Swi::CAppInfo& /*aAppInfo*/, Swi::TInstallCancellableEvent aEvent, |
466 const Swi::CAppInfo& /*aAppInfo*/, Swi::TInstallCancellableEvent aEvent, |
427 Swi::MCancelHandler& /*aCancelHandler*/, TInt /*aValue*/, const TDesC& /*aDes*/ ) |
467 Swi::MCancelHandler& /*aCancelHandler*/, TInt /*aValue*/, const TDesC& /*aDes*/ ) |
428 { |
468 { |
|
469 FLOG_1( _L("CSisxSifPluginUiHandlerSilent::HandleCancellableInstallEventL, aEvent=%d"), |
|
470 aEvent ); |
429 switch( aEvent ) |
471 switch( aEvent ) |
430 { |
472 { |
431 case Swi::EEventOcspCheckStart: |
473 case Swi::EEventOcspCheckStart: |
432 PublishProgressL( EOCSPCheck ); |
474 PublishProgressL( EOCSPCheck ); |
433 break; |
475 break; |
448 Swi::TSignatureValidationResult aSigValidationResult, |
490 Swi::TSignatureValidationResult aSigValidationResult, |
449 RPointerArray<CPKIXValidationResultBase>& /*aPkixResults*/, |
491 RPointerArray<CPKIXValidationResultBase>& /*aPkixResults*/, |
450 RPointerArray<Swi::CCertificateInfo>& /*aCertificates*/, |
492 RPointerArray<Swi::CCertificateInfo>& /*aCertificates*/, |
451 TBool aInstallAnyway ) |
493 TBool aInstallAnyway ) |
452 { |
494 { |
|
495 FLOG_1( _L("CSisxSifPluginUiHandlerSilent::DisplaySecurityWarningL, aSigValidationResult=%d"), |
|
496 aSigValidationResult ); |
453 TBool okToContinue = EFalse; |
497 TBool okToContinue = EFalse; |
454 |
498 |
455 switch( aSigValidationResult ) |
499 switch( aSigValidationResult ) |
456 { |
500 { |
457 case Swi::EValidationSucceeded: |
501 case Swi::EValidationSucceeded: |
465 case Swi::ESignatureNotPresent: |
509 case Swi::ESignatureNotPresent: |
466 case Swi::ESignatureCouldNotBeValidated: |
510 case Swi::ESignatureCouldNotBeValidated: |
467 case Swi::ENoCodeSigningExtension: |
511 case Swi::ENoCodeSigningExtension: |
468 case Swi::ENoSupportedPolicyExtension: |
512 case Swi::ENoSupportedPolicyExtension: |
469 case Swi::EMandatorySignatureMissing: |
513 case Swi::EMandatorySignatureMissing: |
|
514 FLOG_1( _L("CSisxSifPluginUiHandlerSilent::DisplaySecurityWarningL, aInstallAnyway=%d"), |
|
515 aInstallAnyway ); |
470 if( aInstallAnyway && iInstallParams ) |
516 if( aInstallAnyway && iInstallParams ) |
471 { |
517 { |
472 switch( iInstallParams->AllowUntrusted() ) |
518 switch( iInstallParams->AllowUntrusted() ) |
473 { |
519 { |
474 case EAllowed: |
520 case EAllowed: |
496 // |
544 // |
497 TBool CSisxSifPluginUiHandlerSilent::DisplayOcspResultL( const Swi::CAppInfo& /*aAppInfo*/, |
545 TBool CSisxSifPluginUiHandlerSilent::DisplayOcspResultL( const Swi::CAppInfo& /*aAppInfo*/, |
498 Swi::TRevocationDialogMessage aMessage, RPointerArray<TOCSPOutcome>& /*aOutcomes*/, |
546 Swi::TRevocationDialogMessage aMessage, RPointerArray<TOCSPOutcome>& /*aOutcomes*/, |
499 RPointerArray<Swi::CCertificateInfo>& /*aCertificates*/, TBool aWarningOnly ) |
547 RPointerArray<Swi::CCertificateInfo>& /*aCertificates*/, TBool aWarningOnly ) |
500 { |
548 { |
|
549 FLOG( _L("CSisxSifPluginUiHandlerSilent::DisplayOcspResultL") ); |
501 TBool okToContinue = EFalse; |
550 TBool okToContinue = EFalse; |
502 |
551 |
503 if( aWarningOnly && !IsOcspMandatoryL() ) |
552 if( aWarningOnly && !IsOcspMandatoryL() ) |
504 { |
553 { |
505 if( iInstallParams ) |
554 if( iInstallParams ) |
521 if( !okToContinue ) |
570 if( !okToContinue ) |
522 { |
571 { |
523 SetOcspErrorL( aMessage ); |
572 SetOcspErrorL( aMessage ); |
524 } |
573 } |
525 |
574 |
|
575 FLOG_1( _L("CSisxSifPluginUiHandlerSilent::DisplayOcspResultL, okToContinue=%d"), |
|
576 okToContinue ); |
526 return okToContinue; |
577 return okToContinue; |
527 } |
578 } |
528 |
579 |
529 // --------------------------------------------------------------------------- |
580 // --------------------------------------------------------------------------- |
530 // CSisxSifPluginUiHandlerSilent::DisplayCannotOverwriteFileL() |
581 // CSisxSifPluginUiHandlerSilent::DisplayCannotOverwriteFileL() |
531 // --------------------------------------------------------------------------- |
582 // --------------------------------------------------------------------------- |
532 // |
583 // |
533 void CSisxSifPluginUiHandlerSilent::DisplayCannotOverwriteFileL( const Swi::CAppInfo& /*aAppInfo*/, |
584 void CSisxSifPluginUiHandlerSilent::DisplayCannotOverwriteFileL( const Swi::CAppInfo& /*aAppInfo*/, |
534 const Swi::CAppInfo& /*aInstalledAppInfo*/, const TDesC& aFileName ) |
585 const Swi::CAppInfo& /*aInstalledAppInfo*/, const TDesC& aFileName ) |
535 { |
586 { |
|
587 FLOG_1( _L("CSisxSifPluginUiHandlerSilent::DisplayCannotOverwriteFileL, aFileName=%S"), |
|
588 &aFileName ); |
536 // TODO: localized UI string needed: "The package tries to overwrite file '%1' it does not own." |
589 // TODO: localized UI string needed: "The package tries to overwrite file '%1' it does not own." |
537 TName detailsString; |
590 TName detailsString; |
538 detailsString.Format( _L("The package tries to overwrite file '%S' it does not own."), &aFileName ); |
591 detailsString.Format( _L("The package tries to overwrite file '%S' it does not own."), &aFileName ); |
539 SetErrorL( KErrPermissionDenied, ESifUiCannotOverwriteFile, detailsString ); |
592 SetErrorL( KErrPermissionDenied, ESifUiCannotOverwriteFile, detailsString ); |
540 } |
593 } |
545 // |
598 // |
546 TBool CSisxSifPluginUiHandlerSilent::DisplayMissingDependencyL( const Swi::CAppInfo& /*aAppInfo*/, |
599 TBool CSisxSifPluginUiHandlerSilent::DisplayMissingDependencyL( const Swi::CAppInfo& /*aAppInfo*/, |
547 const TDesC& /*aDependencyName*/, TVersion /*aWantedVersionFrom*/, |
600 const TDesC& /*aDependencyName*/, TVersion /*aWantedVersionFrom*/, |
548 TVersion /*aWantedVersionTo*/, TVersion /*aInstalledVersion*/ ) |
601 TVersion /*aWantedVersionTo*/, TVersion /*aInstalledVersion*/ ) |
549 { |
602 { |
|
603 FLOG( _L("CSisxSifPluginUiHandlerSilent::DisplayMissingDependencyL") ); |
550 TBool okToContinue = EFalse; |
604 TBool okToContinue = EFalse; |
551 |
605 |
552 if( iInstallParams ) |
606 if( iInstallParams ) |
553 { |
607 { |
554 switch( iInstallParams->AllowAppBreakDependency() ) |
608 switch( iInstallParams->AllowAppBreakDependency() ) |
567 if( !okToContinue ) |
621 if( !okToContinue ) |
568 { |
622 { |
569 SetErrorL( KErrSifMissingDependencies, 0, KNullDesC ); |
623 SetErrorL( KErrSifMissingDependencies, 0, KNullDesC ); |
570 } |
624 } |
571 |
625 |
|
626 FLOG_1( _L("CSisxSifPluginUiHandlerSilent::DisplayMissingDependencyL, okToContinue=%d"), |
|
627 okToContinue ); |
572 return okToContinue; |
628 return okToContinue; |
573 } |
629 } |
574 |
630 |
575 // --------------------------------------------------------------------------- |
631 // --------------------------------------------------------------------------- |
576 // CSisxSifPluginUiHandlerSilent::DisplayUninstallL() |
632 // CSisxSifPluginUiHandlerSilent::DisplayUninstallL() |
577 // --------------------------------------------------------------------------- |
633 // --------------------------------------------------------------------------- |
578 // |
634 // |
579 TBool CSisxSifPluginUiHandlerSilent::DisplayUninstallL( const Swi::CAppInfo& /*aAppInfo*/ ) |
635 TBool CSisxSifPluginUiHandlerSilent::DisplayUninstallL( const Swi::CAppInfo& /*aAppInfo*/ ) |
580 { |
636 { |
|
637 FLOG( _L("CSisxSifPluginUiHandlerSilent::DisplayUninstallL") ); |
581 ASSERT( iOperationPhase == EUninstalling ); |
638 ASSERT( iOperationPhase == EUninstalling ); |
582 return ETrue; |
639 return ETrue; |
583 } |
640 } |
584 |
641 |
585 // --------------------------------------------------------------------------- |
642 // --------------------------------------------------------------------------- |
586 // CSisxSifPluginUiHandlerSilent::DisplayPreparingInstallL() |
643 // CSisxSifPluginUiHandlerSilent::DisplayPreparingInstallL() |
587 // --------------------------------------------------------------------------- |
644 // --------------------------------------------------------------------------- |
588 // |
645 // |
589 void CSisxSifPluginUiHandlerSilent::DisplayPreparingInstallL( const TDesC& /*aFileName*/ ) |
646 void CSisxSifPluginUiHandlerSilent::DisplayPreparingInstallL( const TDesC& /*aFileName*/ ) |
590 { |
647 { |
|
648 FLOG( _L("CSisxSifPluginUiHandlerSilent::DisplayPreparingInstallL") ); |
591 // nothing displayed in silent mode |
649 // nothing displayed in silent mode |
592 } |
650 } |
593 |
651 |
594 // --------------------------------------------------------------------------- |
652 // --------------------------------------------------------------------------- |
595 // CSisxSifPluginUiHandlerSilent::DisplayCompleteL() |
653 // CSisxSifPluginUiHandlerSilent::DisplayCompleteL() |
596 // --------------------------------------------------------------------------- |
654 // --------------------------------------------------------------------------- |
597 // |
655 // |
598 void CSisxSifPluginUiHandlerSilent::DisplayCompleteL() |
656 void CSisxSifPluginUiHandlerSilent::DisplayCompleteL() |
599 { |
657 { |
|
658 FLOG( _L("CSisxSifPluginUiHandlerSilent::DisplayCompleteL") ); |
600 // nothing displayed in silent mode |
659 // nothing displayed in silent mode |
601 } |
660 } |
602 |
661 |
603 // --------------------------------------------------------------------------- |
662 // --------------------------------------------------------------------------- |
604 // CSisxSifPluginUiHandlerSilent::DisplayFailedL() |
663 // CSisxSifPluginUiHandlerSilent::DisplayFailedL() |
605 // --------------------------------------------------------------------------- |
664 // --------------------------------------------------------------------------- |
606 // |
665 // |
607 void CSisxSifPluginUiHandlerSilent::DisplayFailedL( |
666 void CSisxSifPluginUiHandlerSilent::DisplayFailedL( |
608 const CSisxSifPluginErrorHandler& /*aError*/ ) |
667 const CSisxSifPluginErrorHandler& /*aError*/ ) |
609 { |
668 { |
|
669 FLOG( _L("CSisxSifPluginUiHandlerSilent::DisplayFailedL") ); |
610 // nothing displayed in silent mode |
670 // nothing displayed in silent mode |
611 } |
671 } |
612 |
672 |
613 // --------------------------------------------------------------------------- |
673 // --------------------------------------------------------------------------- |
614 // CSisxSifPluginUiHandlerSilent::CancelDialogs() |
674 // CSisxSifPluginUiHandlerSilent::CancelDialogs() |
615 // --------------------------------------------------------------------------- |
675 // --------------------------------------------------------------------------- |
616 // |
676 // |
617 void CSisxSifPluginUiHandlerSilent::CancelDialogs() |
677 void CSisxSifPluginUiHandlerSilent::CancelDialogs() |
618 { |
678 { |
|
679 FLOG( _L("CSisxSifPluginUiHandlerSilent::CancelDialogs") ); |
619 // nothing to do |
680 // nothing to do |
620 } |
681 } |
621 |
682 |
622 // --------------------------------------------------------------------------- |
683 // --------------------------------------------------------------------------- |
623 // CSisxSifPluginUiHandlerSilent::CSisxSifPluginUiHandlerSilent() |
684 // CSisxSifPluginUiHandlerSilent::CSisxSifPluginUiHandlerSilent() |