SwiUI::CommonUI::CCUIDetailsDialog Class Reference

class SwiUI::CommonUI::CCUIDetailsDialog : public CBase

Dialog showing the application details. The dialog can also show a list of certificates.

swinstcommonui.lib
Since
3.0

Inherits from

  • SwiUI::CommonUI::CCUIDetailsDialog
Public Member Functions
~CCUIDetailsDialog()
IMPORT_C TIntExecuteLD(MCUIInfoIterator &)
IMPORT_C TIntExecuteLD(MCUIInfoIterator &, const RPointerArray< CCUICertificateInfo > &)
IMPORT_C TIntExecuteLD(MCUIInfoIterator &, RFile &)
IMPORT_C TIntExecuteLD(MCUIInfoIterator &, const RPointerArray< CCUICertificateInfo > &, RFile &)
IMPORT_C CCUIDetailsDialog *NewL()
IMPORT_C CCUIDetailsDialog *NewL(TInt)
IMPORT_C CCUIDetailsDialog *NewL(TInt, TBool)
IMPORT_C CCUIDetailsDialog *NewL(TInt, TCUIDetailsHeader)
Private Member Functions
CCUIDetailsDialog()
CCUIDetailsDialog(TInt)
CCUIDetailsDialog(TInt, TCUIDetailsHeader)
voidAddCertificatesLC(HBufC *&)
voidAddDrmLC(HBufC *&)
voidConstructL()
voidDoShowCertificatesL()
voidDoShowDrmL()
HBufC *GetMessageDescriptorLC()
HBufC *LoadLinkLC(TInt)
voidPopulateArrayL(MCUIInfoIterator &)
voidSetFieldL(CDesCArray &, const TDesC &, const TDesC &)
TInt ShowCertificates(TAny *)
TInt ShowDialogL(MCUIInfoIterator &)
TInt ShowDrm(TAny *)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Public Member Enumerations
enumTCUIDetailsHeader { EDetailsHeader, EInstallHeader, EInstallAndDownloadHeader }
Private Attributes
TInt iCbaResourceId
CCoeEnv *iCoeEnv
RPointerArray< CCUICertificateInfo >iCommonCertificates
RFile iFile
TBool iFileSet
TCUIDetailsHeader iHeaderType
CDesCArray *iMessageArray
TInt iResourceFileOffset

Constructor & Destructor Documentation

CCUIDetailsDialog()

CCUIDetailsDialog()[private]

Constructor.

CCUIDetailsDialog(TInt)

CCUIDetailsDialog(TIntaCbaResourceId)[private]

Constructor.

Parameters

TInt aCbaResourceId

CCUIDetailsDialog(TInt, TCUIDetailsHeader)

CCUIDetailsDialog(TIntaCbaResourceId,
TCUIDetailsHeaderaHeaderType
)[private]
Constructor.
Since
5.0

Parameters

TInt aCbaResourceId- Resource id of the dialog CBAs.
TCUIDetailsHeader aHeaderType

~CCUIDetailsDialog()

IMPORT_C~CCUIDetailsDialog()[virtual]

Destructor.

Member Functions Documentation

AddCertificatesLC(HBufC *&)

voidAddCertificatesLC(HBufC *&aMessage)[private]
Helper to add certificate information to query text.
Since
3.0

Parameters

HBufC *& aMessage

AddDrmLC(HBufC *&)

voidAddDrmLC(HBufC *&aMessage)[private]
Helper to add DRM information to query text.
Since
3.0

Parameters

HBufC *& aMessage

ConstructL()

voidConstructL()[private]

2nd phase constructor.

DoShowCertificatesL()

voidDoShowCertificatesL()[private]
Show CCUICertificateInfo certificates.
Since
3.0

DoShowDrmL()

voidDoShowDrmL()[private]
Show detailed drm info.
Since
3.0

ExecuteLD(MCUIInfoIterator &)

IMPORT_C TIntExecuteLD(MCUIInfoIterator &aIterator)
Displays the dialog.
Since
3.0

Parameters

MCUIInfoIterator & aIterator- Iterator for application details.

ExecuteLD(MCUIInfoIterator &, const RPointerArray< CCUICertificateInfo > &)

IMPORT_C TIntExecuteLD(MCUIInfoIterator &aIterator,
const RPointerArray< CCUICertificateInfo > &aCertInfos
)
Displays the dialog with given certificates.
Since
3.0

Parameters

MCUIInfoIterator & aIterator- Iterator for application details.
const RPointerArray< CCUICertificateInfo > & aCertInfos- Array of certificate info objects.

ExecuteLD(MCUIInfoIterator &, RFile &)

IMPORT_C TIntExecuteLD(MCUIInfoIterator &aIterator,
RFile &aFile
)
Displays the dialog with a link to DRM details.
Since
3.0

Parameters

MCUIInfoIterator & aIterator- Iterator for application details.
RFile & aFile- Handle to the package. (for showing drm details)

ExecuteLD(MCUIInfoIterator &, const RPointerArray< CCUICertificateInfo > &, RFile &)

IMPORT_C TIntExecuteLD(MCUIInfoIterator &aIterator,
const RPointerArray< CCUICertificateInfo > &aCertInfos,
RFile &aFile
)
Displays the dialog with given certificates and a link to DRM details.
Since
3.0

Parameters

MCUIInfoIterator & aIterator- Iterator for application details.
const RPointerArray< CCUICertificateInfo > & aCertInfos- Array of certificate info objects.
RFile & aFile- Handle to the package. (for showing drm details)

GetMessageDescriptorLC()

HBufC *GetMessageDescriptorLC()[private]
Helper to get descriptor containing the fields of the dialog.
Since
3.0

LoadLinkLC(TInt)

HBufC *LoadLinkLC(TIntaResourceId)[private]
Helper to construct a message query link from resource string.
Since
3.0

Parameters

TInt aResourceId- Id of the string.

NewL()

IMPORT_C CCUIDetailsDialog *NewL()[static]
Two-phased constructor.
Since
3.0

NewL(TInt)

IMPORT_C CCUIDetailsDialog *NewL(TIntaCbaResourceId)[static]
Two-phased constructor.
Since
3.0

Parameters

TInt aCbaResourceId- Resource id of the dialog CBAs.

NewL(TInt, TBool)

IMPORT_C CCUIDetailsDialog *NewL(TIntaCbaResourceId,
TBoolaWithInstallHeader
)[static]
Two-phased constructor.
Since
5.0

Parameters

TInt aCbaResourceId- Resource id of the dialog CBAs.
TBool aWithInstallHeader- True value if "Install?" header to be shown.

NewL(TInt, TCUIDetailsHeader)

IMPORT_C CCUIDetailsDialog *NewL(TIntaCbaResourceId,
TCUIDetailsHeaderaHeaderType
)[static]
Two-phased constructor.
Since
5.0

Parameters

TInt aCbaResourceId- Resource id of the dialog CBAs.
TCUIDetailsHeader aHeaderType- Header to be used in details dialog.

PopulateArrayL(MCUIInfoIterator &)

voidPopulateArrayL(MCUIInfoIterator &aIterator)[private]
Helper to populate the field array.
Since
3.0

Parameters

MCUIInfoIterator & aIterator- Iterator for application details.

SetFieldL(CDesCArray &, const TDesC &, const TDesC &)

voidSetFieldL(CDesCArray &aItemArray,
const TDesC &aHeading,
const TDesC &aValue
)[private]
Sets a field in the details dialog.
Since
3.0

Parameters

CDesCArray & aItemArray- The constructed field is appended into this array.
const TDesC & aHeading- Heading of the field.
const TDesC & aValue- Value of the field.

ShowCertificates(TAny *)

TInt ShowCertificates(TAny *ptr)[private, static]
Used as a callback function in message query.
Since
3.0

Parameters

TAny * ptr

ShowDialogL(MCUIInfoIterator &)

TInt ShowDialogL(MCUIInfoIterator &aIterator)[private]
Helper to show the details dialog.
Since
3.0

Parameters

MCUIInfoIterator & aIterator- Iterator for application details.

ShowDrm(TAny *)

TInt ShowDrm(TAny *ptr)[private, static]
Used as a callback function in message query.
Since
3.0

Parameters

TAny * ptr

Member Enumerations Documentation

Enum TCUIDetailsHeader

Installation confirmation header types
Since
5.0

Enumerators

EDetailsHeader
EInstallHeader
EInstallAndDownloadHeader

Member Data Documentation

TInt iCbaResourceId

TInt iCbaResourceId[private]

CCoeEnv * iCoeEnv

CCoeEnv *iCoeEnv[private]

RPointerArray< CCUICertificateInfo > iCommonCertificates

RPointerArray< CCUICertificateInfo >iCommonCertificates[private]

RFile iFile

RFile iFile[private]

TBool iFileSet

TBool iFileSet[private]

TCUIDetailsHeader iHeaderType

TCUIDetailsHeader iHeaderType[private]

CDesCArray * iMessageArray

CDesCArray *iMessageArray[private]

TInt iResourceFileOffset

TInt iResourceFileOffset[private]