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
Private Member Functions
|
|
CSvgtFileViewDetailsDialog
()
|
void
|
AddItemToListBoxL
(const
TDesC
&, const
TDesC
&,
CDesCArray
*)
|
void
|
AddResourceFileToEnvL
()
|
void
|
AddSinglePartOfTimeL
(
TInt
,
TInt
,
TInt
,
TInt
,
TInt
,
HBufC
*&)
|
void
|
ConstructL
()
|
void
|
DoLaunchDialogL
(const
CSvgtFileDetails
*)
|
void
|
FetchDrmDataL
(
RFile
&,
CSvgtFileDetails
*)
|
void
|
FillListBoxL
(const
CSvgtFileDetails
*)
|
void
|
LanguageSpecificNumberConversion
(
TDes
&)
|
void
|
MakeDateItemL
(
CDesCArray
*, const
CSvgtFileDetails
*)
|
void
|
MakeDrmItemsL
(
CDesCArray
*, const
CSvgtFileDetails
*)
|
void
|
MakeFormatItemL
(
CDesCArray
*, const
CSvgtFileDetails
*)
|
void
|
MakeRestrictedDrmItemsL
(const
HBufC
*,
CDesCArray
*, const
CSvgtFileDetails
*)
|
void
|
MakeSizeItemL
(
CDesCArray
*, const
CSvgtFileDetails
*)
|
void
|
MakeTimeItemL
(
CDesCArray
*, const
CSvgtFileDetails
*)
|
void
|
MakeUrlItemL
(
CDesCArray
*, const
CSvgtFileDetails
*)
|
void
|
SetTitleL
(
CAknPopupList
*)
|
Constructor & Destructor Documentation
CSvgtFileViewDetailsDialog()
CSvgtFileViewDetailsDialog
|
(
|
)
|
[private]
|
~CSvgtFileViewDetailsDialog()
~CSvgtFileViewDetailsDialog
|
(
|
)
|
[virtual]
|
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 *)
Shows file details to user in dialog.
-
Since
-
3.0
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 *)
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 *)
Fills listbox with file details information.
-
Since
-
3.0
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 *)
Constructs date item.
-
Since
-
3.0
MakeDrmItemsL(CDesCArray *, const CSvgtFileDetails *)
Constructs DRM items.
-
Since
-
3.0
MakeFormatItemL(CDesCArray *, const CSvgtFileDetails *)
Constructs media format item.
-
Since
-
3.0
MakeRestrictedDrmItemsL(const HBufC *, CDesCArray *, const CSvgtFileDetails *)
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 *)
Constructs file size item.
-
Since
-
3.0
MakeTimeItemL(CDesCArray *, const CSvgtFileDetails *)
Constructs time item.
-
Since
-
3.0
MakeUrlItemL(CDesCArray *, const CSvgtFileDetails *)
Constructs clip url item.
-
Since
-
3.0
SetTitleL(CAknPopupList *)
Member Data Documentation
CAknDoublePopupMenuStyleListBox * iListBox
CAknDoublePopupMenuStyleListBox *
|
iListBox
|
[private]
|
TInt
iResOffset
TInt
|
iResOffset
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.