Swi::MCommonDialogs Class Reference

class Swi::MCommonDialogs

Common dialogs

Public Member Functions
TBool DisplayApplicationsInUseL (const CAppInfo &, const RPointerArray < TDesC > &)
TBool DisplayDependencyBreakL (const CAppInfo &, const RPointerArray < TDesC > &)
void DisplayErrorL (const CAppInfo &, TErrorDialog , const TDesC &)
TBool DisplayQuestionL (const CAppInfo &, TQuestionDialog , const TDesC &)
TBool DisplayTextL (const CAppInfo &, TFileTextOption , const TDesC &)

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 & aAppInfo Information about the application.
const RPointerArray < TDesC > & aAppNames An 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 & aAppInfo Information about the application.
const RPointerArray < TDesC > & aComponents An array of components which depend on components of the application

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

void DisplayErrorL ( const CAppInfo & aAppInfo,
TErrorDialog aType,
const TDesC & aParam
) [pure virtual]

Displays a dialog showing an error message.

Parameters

const CAppInfo & aAppInfo Information about the application.
TErrorDialog aType The error message to display.
const TDesC & aParam An error specific parameter.

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

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

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

Parameters

const CAppInfo & aAppInfo Information about the application.
TQuestionDialog aQuestion The 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,
TFileTextOption aOption,
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 & aAppInfo Information about the application.
TFileTextOption aOption The type of dialog box to display.
const TDesC & aText The text to display