CMPFileDetailsDialog Class Reference

class CMPFileDetailsDialog : public CBase

CMPFileDetailsDialog

MPFileDetailsDialog.lib
Since
2.0

Inherits from

  • CMPFileDetailsDialog
Public Member Functions
~CMPFileDetailsDialog()
IMPORT_C voidClose()
IMPORT_C voidExecuteLD(const TDesC &)
IMPORT_C voidExecuteLD(CMPFileDetails *)
voidMapcInitComplete(TInt, const TTimeIntervalMicroSeconds &)
voidMapcPlayComplete(TInt)
voidMvpuoEvent(const TMMFEvent &)
voidMvpuoFrameReady(CFbsBitmap &, TInt)
voidMvpuoOpenComplete(TInt)
voidMvpuoPlayComplete(TInt)
voidMvpuoPrepareComplete(TInt)
IMPORT_C CMPFileDetailsDialog *NewL()
Private Member Functions
CMPFileDetailsDialog()
voidAddItemToListBoxL(const TDesC &, const TDesC &, CDesCArray *)
voidConstructL()
voidDisplayDrmHeadingInfoL(CDesCArray *)
voidFetchAdditionalMetaDataL(const TDesC &, CMPFileDetails *)
voidFetchDCFHeaderDataL(const TDesC &, CMPFileDetails *)
voidFetchDrmDataL(const TDesC &, CMPFileDetails *)
voidFetchMetaDataL(const TDesC &, CMPFileDetails *)
voidFillListBoxL(CMPFileDetails *)
TBool Is3gpFile(const TDesC &, CMPFileDetails *)
voidLanguageSpecificNumberConversion(TDes &)
voidLoadResourcesL()
voidMakeAlbumItemL(CDesCArray *, CMPFileDetails *)
voidMakeAlbumTrackItemL(CDesCArray *, CMPFileDetails *)
voidMakeArtistItemL(CDesCArray *, CMPFileDetails *)
voidMakeAudioFileWebPageItemL(CDesCArray *, CMPFileDetails *)
voidMakeBitrateItemL(CDesCArray *, CMPFileDetails *)
voidMakeCommentItemL(CDesCArray *, CMPFileDetails *)
voidMakeComposerItemL(CDesCArray *, CMPFileDetails *)
voidMakeCopyrightItemL(CDesCArray *, CMPFileDetails *)
voidMakeDateItemL(CDesCArray *, CMPFileDetails *)
voidMakeDescriptionItemL(CDesCArray *, CMPFileDetails *)
voidMakeDurationItemL(CDesCArray *, CMPFileDetails *)
voidMakeFormatItemL(CDesCArray *, CMPFileDetails *)
voidMakeGenreItemL(CDesCArray *, CMPFileDetails *)
voidMakeOriginalArtistItemL(CDesCArray *, CMPFileDetails *)
voidMakeProviderItemL(CDesCArray *, CMPFileDetails *)
voidMakeResolutionItemL(CDesCArray *, CMPFileDetails *)
voidMakeSamplerateItemL(CDesCArray *, CMPFileDetails *)
voidMakeSizeItemL(CDesCArray *, CMPFileDetails *)
voidMakeTimeItemL(CDesCArray *, CMPFileDetails *)
voidMakeTitleItemL(CDesCArray *, CMPFileDetails *)
voidMakeUploadStatusL(CDesCArray *, CMPFileDetails *)
voidMakeUrlItemL(CDesCArray *, CMPFileDetails *)
voidMakeYearItemL(CDesCArray *, CMPFileDetails *)
voidSetFileDetailL(HBufC *&, const TDesC &)
voidSetFileDetailL(HBufC *&, const TDesC8 &)
voidSetTitleL(CAknPopupList *)
voidUnLoadResources()
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()
Private Attributes
CDesCArrayFlat *iGenres
CAknDoublePopupMenuStyleListBox *iListBox
CMPPopupList *iPopupList
TInt iResourceFileOffset
TInt iResult
CActiveSchedulerWait iWait

Constructor & Destructor Documentation

CMPFileDetailsDialog()

CMPFileDetailsDialog()[private]

C++ default constructor.

~CMPFileDetailsDialog()

IMPORT_C~CMPFileDetailsDialog()[virtual]

Destructor.

Member Functions Documentation

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

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

Parameters

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

Close()

IMPORT_C voidClose()
Attempts to force the dialog to close
Since
5.0

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

DisplayDrmHeadingInfoL(CDesCArray *)

voidDisplayDrmHeadingInfoL(CDesCArray *aItemArray)[private]
Display DRM heading info
Since
9.1

Parameters

CDesCArray * aItemArrayArray where constructed item is put.

ExecuteLD(const TDesC &)

IMPORT_C voidExecuteLD(const TDesC &aFileName)
Shows file details to user in dialog.
Since
2.0

Parameters

const TDesC & aFileNameMedia file which details are shown to user. Leaves with KErrNotSupported if file is not valid media file.

ExecuteLD(CMPFileDetails *)

IMPORT_C voidExecuteLD(CMPFileDetails *aFileDetails)
Shows file details to user in dialog.
Since
2.0

Parameters

CMPFileDetails * aFileDetailsFile details which are shown to user.

FetchAdditionalMetaDataL(const TDesC &, CMPFileDetails *)

voidFetchAdditionalMetaDataL(const TDesC &aFileName,
CMPFileDetails *aFileDetails
)[private]
Fetches additional meta data.
Since
3.0

Parameters

const TDesC & aFileNameName of the audio file.
CMPFileDetails * aFileDetailsPointer to the details to be fetched.

FetchDCFHeaderDataL(const TDesC &, CMPFileDetails *)

voidFetchDCFHeaderDataL(const TDesC &aFileName,
CMPFileDetails *aFileDetails
)[private]
Fetches DCF meta data.
Since
3.0

Parameters

const TDesC & aFileNameName of the audio file.
CMPFileDetails * aFileDetailsPointer to the details to be fetched.

FetchDrmDataL(const TDesC &, CMPFileDetails *)

voidFetchDrmDataL(const TDesC &aFileName,
CMPFileDetails *aFileDetails
)[private]
Fetches drm file details.
Since
2.6

Parameters

const TDesC & aFileNameName of the audio file.
CMPFileDetails * aFileDetailsPointer to the details to be fetched.

FetchMetaDataL(const TDesC &, CMPFileDetails *)

voidFetchMetaDataL(const TDesC &aFileName,
CMPFileDetails *aFileDetails
)[private]
Fetches file details from the meta data.
Since
2.1

Parameters

const TDesC & aFileNameName of the audio file.
CMPFileDetails * aFileDetailsPointer to the details to be fetched.

FillListBoxL(CMPFileDetails *)

voidFillListBoxL(CMPFileDetails *aFileDetails)[private]
Fills listbox with file details information.
Since
2.0

Parameters

CMPFileDetails * aFileDetailsFile details

Is3gpFile(const TDesC &, CMPFileDetails *)

TBool Is3gpFile(const TDesC &aFileName,
CMPFileDetails *aFileDetails
)[private]

Checks whether file is a 3gp/mp4 file.

Parameters

const TDesC & aFileName
CMPFileDetails * aFileDetailsPointer to the details to be fetched.

LanguageSpecificNumberConversion(TDes &)

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

Parameters

TDes & aTextnumbers to be converted.

LoadResourcesL()

voidLoadResourcesL()[private]
Loads MPFileDetails.rsc resource file.
Since
2.0

MakeAlbumItemL(CDesCArray *, CMPFileDetails *)

voidMakeAlbumItemL(CDesCArray *aItemArray,
CMPFileDetails *aFileDetails
)[private]
Constructs Album item.
Since
2.0

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
CMPFileDetails * aFileDetailsFile details.

MakeAlbumTrackItemL(CDesCArray *, CMPFileDetails *)

voidMakeAlbumTrackItemL(CDesCArray *aItemArray,
CMPFileDetails *aFileDetails
)[private]
Constructs track position in the album to which the track belongs item.
Since
3.0

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
CMPFileDetails * aFileDetailsFile details.

MakeArtistItemL(CDesCArray *, CMPFileDetails *)

voidMakeArtistItemL(CDesCArray *aItemArray,
CMPFileDetails *aFileDetails
)[private]
Constructs Artist item.
Since
2.0

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
CMPFileDetails * aFileDetailsFile details.

MakeAudioFileWebPageItemL(CDesCArray *, CMPFileDetails *)

voidMakeAudioFileWebPageItemL(CDesCArray *aItemArray,
CMPFileDetails *aFileDetails
)[private]
Constructs URL from which more information about the track can be found item.
Since
3.0

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
CMPFileDetails * aFileDetailsFile details.

MakeBitrateItemL(CDesCArray *, CMPFileDetails *)

voidMakeBitrateItemL(CDesCArray *aItemArray,
CMPFileDetails *aFileDetails
)[private]
Constructs bitrate item.
Since
2.0

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
CMPFileDetails * aFileDetailsFile details.

MakeCommentItemL(CDesCArray *, CMPFileDetails *)

voidMakeCommentItemL(CDesCArray *aItemArray,
CMPFileDetails *aFileDetails
)[private]
Constructs comment someone has added about the track item.
Since
3.0

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
CMPFileDetails * aFileDetailsFile details.

MakeComposerItemL(CDesCArray *, CMPFileDetails *)

voidMakeComposerItemL(CDesCArray *aItemArray,
CMPFileDetails *aFileDetails
)[private]
Constructs Composer information item.
Since
3.0

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
CMPFileDetails * aFileDetailsFile details.

MakeCopyrightItemL(CDesCArray *, CMPFileDetails *)

voidMakeCopyrightItemL(CDesCArray *aItemArray,
CMPFileDetails *aFileDetails
)[private]
Constructs copyright item.
Since
2.0

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
CMPFileDetails * aFileDetailsFile details.

MakeDateItemL(CDesCArray *, CMPFileDetails *)

voidMakeDateItemL(CDesCArray *aItemArray,
CMPFileDetails *aFileDetails
)[private]
Constructs date item.
Since
2.0

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
CMPFileDetails * aFileDetailsFile details.

MakeDescriptionItemL(CDesCArray *, CMPFileDetails *)

voidMakeDescriptionItemL(CDesCArray *aItemArray,
CMPFileDetails *aFileDetails
)[private]
Makes description item.
Since
3.0

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
CMPFileDetails * aFileDetailsFile details.

MakeDurationItemL(CDesCArray *, CMPFileDetails *)

voidMakeDurationItemL(CDesCArray *aItemArray,
CMPFileDetails *aFileDetails
)[private]
Constructs media duration item.
Since
2.0

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
CMPFileDetails * aFileDetailsFile details.

MakeFormatItemL(CDesCArray *, CMPFileDetails *)

voidMakeFormatItemL(CDesCArray *aItemArray,
CMPFileDetails *aFileDetails
)[private]
Constructs media format item.
Since
2.0

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
CMPFileDetails * aFileDetailsFile details.

MakeGenreItemL(CDesCArray *, CMPFileDetails *)

voidMakeGenreItemL(CDesCArray *aItemArray,
CMPFileDetails *aFileDetails
)[private]
Constructs Genre information item.
Since
3.0

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
CMPFileDetails * aFileDetailsFile details.

MakeOriginalArtistItemL(CDesCArray *, CMPFileDetails *)

voidMakeOriginalArtistItemL(CDesCArray *aItemArray,
CMPFileDetails *aFileDetails
)[private]
Constructs original artist of the track item.
Since
3.0

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
CMPFileDetails * aFileDetailsFile details.

MakeProviderItemL(CDesCArray *, CMPFileDetails *)

voidMakeProviderItemL(CDesCArray *aItemArray,
CMPFileDetails *aFileDetails
)[private]
Makes provider item.
Since
3.0

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
CMPFileDetails * aFileDetailsFile details.

MakeResolutionItemL(CDesCArray *, CMPFileDetails *)

voidMakeResolutionItemL(CDesCArray *aItemArray,
CMPFileDetails *aFileDetails
)[private]
Constructs video resolution item.
Since
2.0

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
CMPFileDetails * aFileDetailsFile details.

MakeSamplerateItemL(CDesCArray *, CMPFileDetails *)

voidMakeSamplerateItemL(CDesCArray *aItemArray,
CMPFileDetails *aFileDetails
)[private]
Constructs samplerate item.
Since
2.0

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
CMPFileDetails * aFileDetailsFile details.

MakeSizeItemL(CDesCArray *, CMPFileDetails *)

voidMakeSizeItemL(CDesCArray *aItemArray,
CMPFileDetails *aFileDetails
)[private]
Constructs file size item.
Since
2.0

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
CMPFileDetails * aFileDetailsFile details.

MakeTimeItemL(CDesCArray *, CMPFileDetails *)

voidMakeTimeItemL(CDesCArray *aItemArray,
CMPFileDetails *aFileDetails
)[private]
Constructs time item.
Since
2.0

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
CMPFileDetails * aFileDetailsFile details.

MakeTitleItemL(CDesCArray *, CMPFileDetails *)

voidMakeTitleItemL(CDesCArray *aItemArray,
CMPFileDetails *aFileDetails
)[private]
Constructs clip title item.
Since
2.0

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
CMPFileDetails * aFileDetailsFile details.

MakeUploadStatusL(CDesCArray *, CMPFileDetails *)

voidMakeUploadStatusL(CDesCArray *aItemArray,
CMPFileDetails *aFileDetails
)[private]
Constructs upload status item.
Since
2.8

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
CMPFileDetails * aFileDetailsFile details.

MakeUrlItemL(CDesCArray *, CMPFileDetails *)

voidMakeUrlItemL(CDesCArray *aItemArray,
CMPFileDetails *aFileDetails
)[private]
Constructs clip url item.
Since
2.0

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
CMPFileDetails * aFileDetailsFile details.

MakeYearItemL(CDesCArray *, CMPFileDetails *)

voidMakeYearItemL(CDesCArray *aItemArray,
CMPFileDetails *aFileDetails
)[private]
Constructs Year item.
Since
2.0

Parameters

CDesCArray * aItemArrayArray where constructed item is put.
CMPFileDetails * aFileDetailsFile details.

MapcInitComplete(TInt, const TTimeIntervalMicroSeconds &)

voidMapcInitComplete(TIntaError,
const TTimeIntervalMicroSeconds &aDuration
)

Parameters

TInt aError
const TTimeIntervalMicroSeconds & aDuration

MapcPlayComplete(TInt)

voidMapcPlayComplete(TIntaError)

Parameters

TInt aError

MvpuoEvent(const TMMFEvent &)

voidMvpuoEvent(const TMMFEvent &aEvent)

Parameters

const TMMFEvent & aEvent

MvpuoFrameReady(CFbsBitmap &, TInt)

voidMvpuoFrameReady(CFbsBitmap &aFrame,
TIntaError
)

Parameters

CFbsBitmap & aFrame
TInt aError

MvpuoOpenComplete(TInt)

voidMvpuoOpenComplete(TIntaError)

Parameters

TInt aError

MvpuoPlayComplete(TInt)

voidMvpuoPlayComplete(TIntaError)

Parameters

TInt aError

MvpuoPrepareComplete(TInt)

voidMvpuoPrepareComplete(TIntaError)

Parameters

TInt aError

NewL()

IMPORT_C CMPFileDetailsDialog *NewL()[static]

Two-phased constructor.

SetFileDetailL(HBufC *&, const TDesC &)

voidSetFileDetailL(HBufC *&aBuf,
const TDesC &aDetail
)[private]

Sets file detail in buffer.

Parameters

HBufC *& aBuf
const TDesC & aDetail

SetFileDetailL(HBufC *&, const TDesC8 &)

voidSetFileDetailL(HBufC *&aBuf,
const TDesC8 &aDetail
)[private]

Parameters

HBufC *& aBuf
const TDesC8 & aDetail

SetTitleL(CAknPopupList *)

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

Parameters

CAknPopupList * aPopupListCAknPopupList which title is modified

UnLoadResources()

voidUnLoadResources()[private]
Unloads MPFileDetails.rsc resource file.
Since
2.0

Member Data Documentation

CDesCArrayFlat * iGenres

CDesCArrayFlat *iGenres[private]

CAknDoublePopupMenuStyleListBox * iListBox

CAknDoublePopupMenuStyleListBox *iListBox[private]

CMPPopupList * iPopupList

CMPPopupList *iPopupList[private]

TInt iResourceFileOffset

TInt iResourceFileOffset[private]

TInt iResult

TInt iResult[private]

CActiveSchedulerWait iWait

CActiveSchedulerWait iWait[private]