class Swi::MInstallerUiHandler |
This represents the User Interface handler for the installation of SISX files by Software Install Server.
void | DisplayCannotOverwriteFileL | ( | const CAppInfo & | aAppInfo, |
const CAppInfo & | aInstalledAppInfo, | |||
const TDesC & | aFileName | |||
) | [pure virtual] |
Used to inform the user the installation they are attempting is trying to overwrite a file that does not belong to it. Following this message installation is aborted.
TInt | DisplayDriveL | ( | const CAppInfo & | aAppInfo, |
TInt64 | aSize, | |||
const RArray < TChar > & | aDriveLetters, | |||
const RArray < TInt64 > & | aDriveSpaces | |||
) | [pure virtual] |
Requests the drive to install the package on, from the UI.
const CAppInfo & aAppInfo | Information about the application. |
TInt64 aSize | Total size of the files that will be installed on the configurable drive. |
const RArray < TChar > & aDriveLetters | Array of drive letters on which the package can be installed. |
const RArray < TInt64 > & aDriveSpaces | Array of space free (in bytes) on each of the drives in the aDriveLetters array. |
TBool | DisplayGrantCapabilitiesL | ( | const CAppInfo & | aAppInfo, |
const TCapabilitySet & | aCapabilitySet | |||
) | [pure virtual] |
Displays a dialog requesting that the user grants these capabilities to the SISX package being installed. This dialog must be shown in TrustedUI mode.
Trusted UI
const CAppInfo & aAppInfo | Information about the application. |
const TCapabilitySet & aCapabilitySet | The capabilities requested by the SISX package. |
TBool | DisplayInstallL | ( | const CAppInfo & | aAppInfo, |
const CApaMaskedBitmap * | aLogo, | |||
const RPointerArray < CCertificateInfo > & | aCertificates | |||
) | [pure virtual] |
Displays a dialog at the beginning of an installation with details about the SISX package being installed. This dialog must be shown in TrustedUI mode.
An installer UI should call REComSession::FinalClose() as part of clean up.
Trusted UI
const CAppInfo & aAppInfo | Information about the application. |
const CApaMaskedBitmap * aLogo | The logo data in the SISX file. If no logo is present it will be NULL. |
const RPointerArray < CCertificateInfo > & aCertificates | An array of end entity certificates, one for each chain in the SISX file. If the SISX file is unsigned this array will have zero length. |
TInt | DisplayLanguageL | ( | const CAppInfo & | aAppInfo, |
const RArray < TLanguage > & | aLanguages | |||
) | [pure virtual] |
Requests preferred language and dialect information from the UI.
TBool | DisplayMissingDependencyL | ( | const CAppInfo & | aAppInfo, |
const TDesC & | aDependencyName, | |||
TVersion | aWantedVersionFrom, | |||
TVersion | aWantedVersionTo, | |||
TVersion | aInstalledVersion | |||
) | [pure virtual] |
Used to inform the user of a missing dependency needed to install the current package. It is up to the UI implementors and/or the user whether or not this warning can be overridden.
const CAppInfo & aAppInfo | Info about the current application. |
const TDesC & aDependencyName | Name of the missing dependency. |
TVersion aWantedVersionFrom | Ending suitable version number of the mising dependency. Can be all zeros, meaning it is unknown. |
TVersion aWantedVersionTo | |
TVersion aInstalledVersion | The installed (unsuitable) version of the missing dependency. Can be all zeros, meaning the missing dependency is not installed. |
TBool | DisplayOcspResultL | ( | const CAppInfo & | aAppInfo, |
TRevocationDialogMessage | aMessage, | |||
RPointerArray < TOCSPOutcome > & | aOutcomes, | |||
RPointerArray < CCertificateInfo > & | aCertificates, | |||
TBool | aWarningOnly | |||
) | [pure virtual] |
Displays a dialog indicating that there was an error carrying out online certificate status checking.
const CAppInfo & aAppInfo | Application info from the package file |
TRevocationDialogMessage aMessage | The error which occurred during online certificate status checking |
RPointerArray < TOCSPOutcome > & aOutcomes | The outcomes of the OCSP checks |
RPointerArray < CCertificateInfo > & aCertificates | Certificate information of the end (signing) certificates that correspond to the outcomes |
TBool aWarningOnly | ETrue if the installation is allowed to continue after a warning, EFalse otherwise. |
TBool | DisplayOptionsL | ( | const CAppInfo & | aAppInfo, |
const RPointerArray < TDesC > & | aOptions, | |||
RArray < TBool > & | aSelections | |||
) | [pure virtual] |
Displays a dialog box asking which options the user wishes to install.
const CAppInfo & aAppInfo | Information about the application. |
const RPointerArray < TDesC > & aOptions | An array of option names. |
RArray < TBool > & aSelections | An array of booleans, corresponding to the aOptions array. |
TBool | DisplaySecurityWarningL | ( | const CAppInfo & | aAppInfo, |
TSignatureValidationResult | aSigValidationResult, | |||
RPointerArray < CPKIXValidationResultBase > & | aPkixResults, | |||
RPointerArray < CCertificateInfo > & | aCertificates, | |||
TBool | aInstallAnyway | |||
) | [pure virtual] |
Displays a dialog indicating that the package is unsigned, or that signature validation has failed.
const CAppInfo & aAppInfo | Information about the application. |
TSignatureValidationResult aSigValidationResult | The result of signature validation. |
RPointerArray < CPKIXValidationResultBase > & aPkixResults | Results of a validation of the PKIX certificate chains |
RPointerArray < CCertificateInfo > & aCertificates | Certificate information for the failed end (signing) certificates |
TBool aInstallAnyway | ETrue if installation is allowed to continue. |
TBool | DisplayUpgradeL | ( | const CAppInfo & | aAppInfo, |
const CAppInfo & | aExistingAppInfo | |||
) | [pure virtual] |
Displays a dialog asking whether we want to upgrade an application present on the device.
void | HandleCancellableInstallEventL | ( | const CAppInfo & | aAppInfo, |
TInstallCancellableEvent | aEvent, | |||
MCancelHandler & | aCancelHandler, | |||
TInt | aValue = 0, | |||
const TDesC & | aDes = KNullDesC | |||
) | [pure virtual] |
Informs the UI of cancellable events occurring during installation.
const CAppInfo & aAppInfo | Information about the application. |
TInstallCancellableEvent aEvent | The event which has occurred. |
MCancelHandler & aCancelHandler | This mix-in is used to inform Software Install that the user has pressed the cancel button on the dialog. |
TInt aValue = 0 | The value associated with the event if applicable. |
const TDesC & aDes = KNullDesC | A descriptor associated with the event if applicable. |
TBool | HandleInstallEventL | ( | const CAppInfo & | aAppInfo, |
TInstallEvent | aEvent, | |||
TInt | aValue = 0, | |||
const TDesC & | aDes = KNullDesC | |||
) | [pure virtual] |
Informs the UI of events occurring during installation.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.