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 TInt ExecuteLD ( MCUIInfoIterator &)
IMPORT_C TInt ExecuteLD ( MCUIInfoIterator &, const RPointerArray < CCUICertificateInfo > &)
IMPORT_C TInt ExecuteLD ( MCUIInfoIterator &, RFile &)
IMPORT_C TInt ExecuteLD ( 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 )
void AddCertificatesLC ( HBufC *&)
void AddDrmLC ( HBufC *&)
void ConstructL ()
void DoShowCertificatesL ()
void DoShowDrmL ()
HBufC * GetMessageDescriptorLC ()
HBufC * LoadLinkLC ( TInt )
void PopulateArrayL ( MCUIInfoIterator &)
void SetFieldL ( 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
enum TCUIDetailsHeader { 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 ( TInt aCbaResourceId ) [private]

Constructor.

Parameters

TInt aCbaResourceId

CCUIDetailsDialog(TInt, TCUIDetailsHeader)

CCUIDetailsDialog ( TInt aCbaResourceId,
TCUIDetailsHeader aHeaderType
) [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 *&)

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

Parameters

HBufC *& aMessage

AddDrmLC(HBufC *&)

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

Parameters

HBufC *& aMessage

ConstructL()

void ConstructL ( ) [private]

2nd phase constructor.

DoShowCertificatesL()

void DoShowCertificatesL ( ) [private]
Show CCUICertificateInfo certificates.
Since
3.0

DoShowDrmL()

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

ExecuteLD(MCUIInfoIterator &)

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

Parameters

MCUIInfoIterator & aIterator - Iterator for application details.

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

IMPORT_C TInt ExecuteLD ( 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 TInt ExecuteLD ( 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 TInt ExecuteLD ( 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 ( TInt aResourceId ) [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 ( TInt aCbaResourceId ) [static]
Two-phased constructor.
Since
3.0

Parameters

TInt aCbaResourceId - Resource id of the dialog CBAs.

NewL(TInt, TBool)

IMPORT_C CCUIDetailsDialog * NewL ( TInt aCbaResourceId,
TBool aWithInstallHeader
) [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 ( TInt aCbaResourceId,
TCUIDetailsHeader aHeaderType
) [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 &)

void PopulateArrayL ( 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 &)

void SetFieldL ( 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]