Swi::MCommonDialogs Class Reference

class Swi::MCommonDialogs

Common dialogs

Member Functions Documentation

DisplayApplicationsInUseL(const CAppInfo &, const RPointerArray< TDesC > &)

TBool DisplayApplicationsInUseL(const CAppInfo &aAppInfo,
const RPointerArray< TDesC > &aAppNames
)[pure virtual]

Informs user that the applications are in use during an uninstallation. Return ETrue if the user wishes to continue the removal process and close the applications anyway

Parameters

const CAppInfo & aAppInfoInformation about the application.
const RPointerArray< TDesC > & aAppNamesAn array containing the name of the application in use.

DisplayDependencyBreakL(const CAppInfo &, const RPointerArray< TDesC > &)

TBool DisplayDependencyBreakL(const CAppInfo &aAppInfo,
const RPointerArray< TDesC > &aComponents
)[pure virtual]

Displays a dialog indicating that a component which is being uninstalled is a dependency of another component installed.

Parameters

const CAppInfo & aAppInfoInformation about the application.
const RPointerArray< TDesC > & aComponentsAn array of components which depend on components of the application

DisplayErrorL(const CAppInfo &, TErrorDialog, const TDesC &)

voidDisplayErrorL(const CAppInfo &aAppInfo,
TErrorDialogaType,
const TDesC &aParam
)[pure virtual]

Displays a dialog showing an error message.

Parameters

const CAppInfo & aAppInfoInformation about the application.
TErrorDialog aTypeThe error message to display.
const TDesC & aParamAn error specific parameter.

DisplayQuestionL(const CAppInfo &, TQuestionDialog, const TDesC &)

TBool DisplayQuestionL(const CAppInfo &aAppInfo,
TQuestionDialogaQuestion,
const TDesC &aDes =  KNullDesC
)[pure virtual]

Displays a generic question dialog with a Yes/No answer.

Parameters

const CAppInfo & aAppInfoInformation about the application.
TQuestionDialog aQuestionThe question to ask.
const TDesC & aDes =  KNullDesC A descriptor associated with the question if applicable.

DisplayTextL(const CAppInfo &, TFileTextOption, const TDesC &)

TBool DisplayTextL(const CAppInfo &aAppInfo,
TFileTextOptionaOption,
const TDesC &aText
)[pure virtual]

Displays a dialog containing text. It is recommended that this dialog has only a Continue button if aOption is EInstFileTextOptionContinue, or Yes and No buttons otherwise.

Parameters

const CAppInfo & aAppInfoInformation about the application.
TFileTextOption aOptionThe type of dialog box to display.
const TDesC & aTextThe text to display