CSvgtFileViewDetailsDialog Class Reference

class CSvgtFileViewDetailsDialog : public CBase

CSvgtFileViewDetailsDialog Used to display "View Details" option Makes use of SVGTdrmhelper to display the drm details

SVGTFileDetailsDialog.lib
Since
2.0

Inherits from

Constructor & Destructor Documentation

CSvgtFileViewDetailsDialog()

CSvgtFileViewDetailsDialog ( ) [private]

C++ default constructor.

~CSvgtFileViewDetailsDialog()

~CSvgtFileViewDetailsDialog ( ) [virtual]

Destructor.

Member Functions Documentation

AddItemToListBoxL(const TDesC &, const TDesC &, CDesCArray *)

void AddItemToListBoxL ( const TDesC & aHeading,
const TDesC & aValue,
CDesCArray * aItemArray
) const [private]
Adds header and value to list.
Since
3.0

Parameters

const TDesC & aHeading Heading
const TDesC & aValue Value
CDesCArray * aItemArray Array where value and header are added.

AddResourceFileToEnvL()

void AddResourceFileToEnvL ( ) [private]

AddSinglePartOfTimeL(TInt, TInt, TInt, TInt, TInt, HBufC *&)

void AddSinglePartOfTimeL ( TInt aNumOfElements,
TInt aResourceIdSingle,
TInt aResourceIdOneFinal,
TInt aResourceIdTwoFour,
TInt aResourceIdFiveZero,
HBufC *& aStrings
) const [private]

Add a single element of time to the string array

Parameters

TInt aNumOfElements Number of elements of the interval
TInt aResourceIdSingle Resource id to be used in case of single unit
TInt aResourceIdOneFinal Resource id to be used in case of units ending with 1, from 21 (requested by Slavic languages)
TInt aResourceIdTwoFour Resource id to be used in case of units included from two to four, except 12-14 (requested by Slavic languages)
TInt aResourceIdFiveZero Resource id to be used in case of units ending from 5 to 9, plus range from 11 to 14 (requested by Slavic languages)
HBufC *& aStrings Buffer where to add the element

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

DoLaunchDialogL(const CSvgtFileDetails *)

void DoLaunchDialogL ( const CSvgtFileDetails * aFileDetails ) [private]
Shows file details to user in dialog.
Since
3.0

Parameters

const CSvgtFileDetails * aFileDetails File details which are shown to user.

ExecuteLD(RFile &)

IMPORT_C void ExecuteLD ( RFile & aFileHandle )
Shows file details to user in dialog.
Since
3.0

Parameters

RFile & aFileHandle File handle for which usage rights info is loaded. Leaves with KErrNotSupported if file is not valid media file.

FetchDrmDataL(RFile &, CSvgtFileDetails *)

void FetchDrmDataL ( RFile & aFileHandle,
CSvgtFileDetails * aFileDetails
) const [private]
Fetches drm file details.
Since
3.0

Parameters

RFile & aFileHandle File handle for which usage rights info is loaded.
CSvgtFileDetails * aFileDetails Pointer to the details to be fetched.

FillListBoxL(const CSvgtFileDetails *)

void FillListBoxL ( const CSvgtFileDetails * aFileDetails ) [private]
Fills listbox with file details information.
Since
3.0

Parameters

const CSvgtFileDetails * aFileDetails File details

LanguageSpecificNumberConversion(TDes &)

void LanguageSpecificNumberConversion ( TDes & aText ) const [private]
Converts between arabic-indic digits and european digits.
Since
3.0

Parameters

TDes & aText numbers to be converted.

MakeDateItemL(CDesCArray *, const CSvgtFileDetails *)

void MakeDateItemL ( CDesCArray * aItemArray,
const CSvgtFileDetails * aFileDetails
) const [private]
Constructs date item.
Since
3.0

Parameters

CDesCArray * aItemArray Array where constructed item is put.
const CSvgtFileDetails * aFileDetails File details.

MakeDrmItemsL(CDesCArray *, const CSvgtFileDetails *)

void MakeDrmItemsL ( CDesCArray * aItemArray,
const CSvgtFileDetails * aFileDetails
) const [private]
Constructs DRM items.
Since
3.0

Parameters

CDesCArray * aItemArray Array where constructed item is put.
const CSvgtFileDetails * aFileDetails File details.

MakeFormatItemL(CDesCArray *, const CSvgtFileDetails *)

void MakeFormatItemL ( CDesCArray * aItemArray,
const CSvgtFileDetails * aFileDetails
) const [private]
Constructs media format item.
Since
3.0

Parameters

CDesCArray * aItemArray Array where constructed item is put.
const CSvgtFileDetails * aFileDetails File details.

MakeRestrictedDrmItemsL(const HBufC *, CDesCArray *, const CSvgtFileDetails *)

void MakeRestrictedDrmItemsL ( const HBufC * aRights,
CDesCArray * aItemArray,
const CSvgtFileDetails * aFileDetails
) const [private]
Constructs restricted drm items. E.g. count, interval
Since
3.0

Parameters

const HBufC * aRights Drm right type "Play"
CDesCArray * aItemArray Array where constructed item is put.
const CSvgtFileDetails * aFileDetails File details.

MakeSizeItemL(CDesCArray *, const CSvgtFileDetails *)

void MakeSizeItemL ( CDesCArray * aItemArray,
const CSvgtFileDetails * aFileDetails
) const [private]
Constructs file size item.
Since
3.0

Parameters

CDesCArray * aItemArray Array where constructed item is put.
const CSvgtFileDetails * aFileDetails File details.

MakeTimeItemL(CDesCArray *, const CSvgtFileDetails *)

void MakeTimeItemL ( CDesCArray * aItemArray,
const CSvgtFileDetails * aFileDetails
) const [private]
Constructs time item.
Since
3.0

Parameters

CDesCArray * aItemArray Array where constructed item is put.
const CSvgtFileDetails * aFileDetails File details.

MakeUrlItemL(CDesCArray *, const CSvgtFileDetails *)

void MakeUrlItemL ( CDesCArray * aItemArray,
const CSvgtFileDetails * aFileDetails
) const [private]
Constructs clip url item.
Since
3.0

Parameters

CDesCArray * aItemArray Array where constructed item is put.
const CSvgtFileDetails * aFileDetails File details.

NewL()

IMPORT_C CSvgtFileViewDetailsDialog * NewL ( ) [static]

Two-phased constructor.

SetTitleL(CAknPopupList *)

void SetTitleL ( CAknPopupList * aPopupList ) const [private]
Sets title for CAknPopupList .
Since
3.0

Parameters

CAknPopupList * aPopupList CAknPopupList which title is modified

Member Data Documentation

CEikonEnv * iEnv

CEikonEnv * iEnv [private]

CAknDoublePopupMenuStyleListBox * iListBox

CAknDoublePopupMenuStyleListBox * iListBox [private]

TInt iResOffset

TInt iResOffset [private]