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

  • CSvgtFileViewDetailsDialog

Constructor & Destructor Documentation

CSvgtFileViewDetailsDialog()

CSvgtFileViewDetailsDialog()[private]

C++ default constructor.

~CSvgtFileViewDetailsDialog()

~CSvgtFileViewDetailsDialog()[virtual]

Destructor.

Member Functions Documentation

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

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

Parameters

const TDesC & aHeadingHeading
const TDesC & aValueValue
CDesCArray * aItemArrayArray where value and header are added.

AddResourceFileToEnvL()

voidAddResourceFileToEnvL()[private]

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

voidAddSinglePartOfTimeL(TIntaNumOfElements,
TIntaResourceIdSingle,
TIntaResourceIdOneFinal,
TIntaResourceIdTwoFour,
TIntaResourceIdFiveZero,
HBufC *&aStrings
)const [private]

Add a single element of time to the string array

Parameters

TInt aNumOfElementsNumber of elements of the interval
TInt aResourceIdSingleResource id to be used in case of single unit
TInt aResourceIdOneFinalResource id to be used in case of units ending with 1, from 21 (requested by Slavic languages)
TInt aResourceIdTwoFourResource id to be used in case of units included from two to four, except 12-14 (requested by Slavic languages)
TInt aResourceIdFiveZeroResource id to be used in case of units ending from 5 to 9, plus range from 11 to 14 (requested by Slavic languages)
HBufC *& aStringsBuffer where to add the element

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

DoLaunchDialogL(const CSvgtFileDetails *)

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

Parameters

const CSvgtFileDetails * aFileDetailsFile details which are shown to user.

ExecuteLD(RFile &)

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

Parameters

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

FetchDrmDataL(RFile &, CSvgtFileDetails *)

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

Parameters

RFile & aFileHandleFile handle for which usage rights info is loaded.
CSvgtFileDetails * aFileDetailsPointer to the details to be fetched.

FillListBoxL(const CSvgtFileDetails *)

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

Parameters

const CSvgtFileDetails * aFileDetailsFile details

LanguageSpecificNumberConversion(TDes &)

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

Parameters

TDes & aTextnumbers to be converted.

MakeDateItemL(CDesCArray *, const CSvgtFileDetails *)

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

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
const CSvgtFileDetails * aFileDetailsFile details.

MakeDrmItemsL(CDesCArray *, const CSvgtFileDetails *)

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

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
const CSvgtFileDetails * aFileDetailsFile details.

MakeFormatItemL(CDesCArray *, const CSvgtFileDetails *)

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

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
const CSvgtFileDetails * aFileDetailsFile details.

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

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

Parameters

const HBufC * aRightsDrm right type "Play"
CDesCArray * aItemArrayArray where constructed item is put.
const CSvgtFileDetails * aFileDetailsFile details.

MakeSizeItemL(CDesCArray *, const CSvgtFileDetails *)

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

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
const CSvgtFileDetails * aFileDetailsFile details.

MakeTimeItemL(CDesCArray *, const CSvgtFileDetails *)

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

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
const CSvgtFileDetails * aFileDetailsFile details.

MakeUrlItemL(CDesCArray *, const CSvgtFileDetails *)

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

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
const CSvgtFileDetails * aFileDetailsFile details.

NewL()

IMPORT_C CSvgtFileViewDetailsDialog *NewL()[static]

Two-phased constructor.

SetTitleL(CAknPopupList *)

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

Parameters

CAknPopupList * aPopupListCAknPopupList which title is modified

Member Data Documentation

CEikonEnv * iEnv

CEikonEnv *iEnv[private]

CAknDoublePopupMenuStyleListBox * iListBox

CAknDoublePopupMenuStyleListBox *iListBox[private]

TInt iResOffset

TInt iResOffset[private]