CMPFileDetailsDialog Class Reference

class CMPFileDetailsDialog : public CBase

CMPFileDetailsDialog

MPFileDetailsDialog.lib
Since
2.0

Inherits from

Public Member Functions
~CMPFileDetailsDialog ()
IMPORT_C void Close ()
IMPORT_C void ExecuteLD (const TDesC &)
IMPORT_C void ExecuteLD (CMPFileDetails *)
void MapcInitComplete ( TInt , const TTimeIntervalMicroSeconds &)
void MapcPlayComplete ( TInt )
void MvpuoEvent (const TMMFEvent &)
void MvpuoFrameReady ( CFbsBitmap &, TInt )
void MvpuoOpenComplete ( TInt )
void MvpuoPlayComplete ( TInt )
void MvpuoPrepareComplete ( TInt )
IMPORT_C CMPFileDetailsDialog * NewL ()
Private Member Functions
CMPFileDetailsDialog ()
void AddItemToListBoxL (const TDesC &, const TDesC &, CDesCArray *)
void ConstructL ()
void DisplayDrmHeadingInfoL ( CDesCArray *)
void FetchAdditionalMetaDataL (const TDesC &, CMPFileDetails *)
void FetchDCFHeaderDataL (const TDesC &, CMPFileDetails *)
void FetchDrmDataL (const TDesC &, CMPFileDetails *)
void FetchMetaDataL (const TDesC &, CMPFileDetails *)
void FillListBoxL (CMPFileDetails *)
TBool Is3gpFile (const TDesC &, CMPFileDetails *)
void LanguageSpecificNumberConversion ( TDes &)
void LoadResourcesL ()
void MakeAlbumItemL ( CDesCArray *, CMPFileDetails *)
void MakeAlbumTrackItemL ( CDesCArray *, CMPFileDetails *)
void MakeArtistItemL ( CDesCArray *, CMPFileDetails *)
void MakeAudioFileWebPageItemL ( CDesCArray *, CMPFileDetails *)
void MakeBitrateItemL ( CDesCArray *, CMPFileDetails *)
void MakeCommentItemL ( CDesCArray *, CMPFileDetails *)
void MakeComposerItemL ( CDesCArray *, CMPFileDetails *)
void MakeCopyrightItemL ( CDesCArray *, CMPFileDetails *)
void MakeDateItemL ( CDesCArray *, CMPFileDetails *)
void MakeDescriptionItemL ( CDesCArray *, CMPFileDetails *)
void MakeDurationItemL ( CDesCArray *, CMPFileDetails *)
void MakeFormatItemL ( CDesCArray *, CMPFileDetails *)
void MakeGenreItemL ( CDesCArray *, CMPFileDetails *)
void MakeOriginalArtistItemL ( CDesCArray *, CMPFileDetails *)
void MakeProviderItemL ( CDesCArray *, CMPFileDetails *)
void MakeResolutionItemL ( CDesCArray *, CMPFileDetails *)
void MakeSamplerateItemL ( CDesCArray *, CMPFileDetails *)
void MakeSizeItemL ( CDesCArray *, CMPFileDetails *)
void MakeTimeItemL ( CDesCArray *, CMPFileDetails *)
void MakeTitleItemL ( CDesCArray *, CMPFileDetails *)
void MakeUploadStatusL ( CDesCArray *, CMPFileDetails *)
void MakeUrlItemL ( CDesCArray *, CMPFileDetails *)
void MakeYearItemL ( CDesCArray *, CMPFileDetails *)
void SetFileDetailL ( HBufC *&, const TDesC &)
void SetFileDetailL ( HBufC *&, const TDesC8 &)
void SetTitleL ( CAknPopupList *)
void UnLoadResources ()
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 *)

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

Parameters

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

Close()

IMPORT_C void Close ( )
Attempts to force the dialog to close
Since
5.0

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

DisplayDrmHeadingInfoL(CDesCArray *)

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

Parameters

CDesCArray * aItemArray Array where constructed item is put.

ExecuteLD(const TDesC &)

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

Parameters

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

ExecuteLD(CMPFileDetails *)

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

Parameters

CMPFileDetails * aFileDetails File details which are shown to user.

FetchAdditionalMetaDataL(const TDesC &, CMPFileDetails *)

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

Parameters

const TDesC & aFileName Name of the audio file.
CMPFileDetails * aFileDetails Pointer to the details to be fetched.

FetchDCFHeaderDataL(const TDesC &, CMPFileDetails *)

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

Parameters

const TDesC & aFileName Name of the audio file.
CMPFileDetails * aFileDetails Pointer to the details to be fetched.

FetchDrmDataL(const TDesC &, CMPFileDetails *)

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

Parameters

const TDesC & aFileName Name of the audio file.
CMPFileDetails * aFileDetails Pointer to the details to be fetched.

FetchMetaDataL(const TDesC &, CMPFileDetails *)

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

Parameters

const TDesC & aFileName Name of the audio file.
CMPFileDetails * aFileDetails Pointer to the details to be fetched.

FillListBoxL(CMPFileDetails *)

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

Parameters

CMPFileDetails * aFileDetails File 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 * aFileDetails Pointer to the details to be fetched.

LanguageSpecificNumberConversion(TDes &)

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

Parameters

TDes & aText numbers to be converted.

LoadResourcesL()

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

MakeAlbumItemL(CDesCArray *, CMPFileDetails *)

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

Parameters

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

MakeAlbumTrackItemL(CDesCArray *, CMPFileDetails *)

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

Parameters

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

MakeArtistItemL(CDesCArray *, CMPFileDetails *)

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

Parameters

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

MakeAudioFileWebPageItemL(CDesCArray *, CMPFileDetails *)

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

Parameters

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

MakeBitrateItemL(CDesCArray *, CMPFileDetails *)

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

Parameters

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

MakeCommentItemL(CDesCArray *, CMPFileDetails *)

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

Parameters

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

MakeComposerItemL(CDesCArray *, CMPFileDetails *)

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

Parameters

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

MakeCopyrightItemL(CDesCArray *, CMPFileDetails *)

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

Parameters

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

MakeDateItemL(CDesCArray *, CMPFileDetails *)

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

Parameters

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

MakeDescriptionItemL(CDesCArray *, CMPFileDetails *)

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

Parameters

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

MakeDurationItemL(CDesCArray *, CMPFileDetails *)

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

Parameters

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

MakeFormatItemL(CDesCArray *, CMPFileDetails *)

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

Parameters

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

MakeGenreItemL(CDesCArray *, CMPFileDetails *)

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

Parameters

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

MakeOriginalArtistItemL(CDesCArray *, CMPFileDetails *)

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

Parameters

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

MakeProviderItemL(CDesCArray *, CMPFileDetails *)

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

Parameters

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

MakeResolutionItemL(CDesCArray *, CMPFileDetails *)

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

Parameters

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

MakeSamplerateItemL(CDesCArray *, CMPFileDetails *)

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

Parameters

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

MakeSizeItemL(CDesCArray *, CMPFileDetails *)

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

Parameters

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

MakeTimeItemL(CDesCArray *, CMPFileDetails *)

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

Parameters

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

MakeTitleItemL(CDesCArray *, CMPFileDetails *)

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

Parameters

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

MakeUploadStatusL(CDesCArray *, CMPFileDetails *)

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

Parameters

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

MakeUrlItemL(CDesCArray *, CMPFileDetails *)

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

Parameters

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

MakeYearItemL(CDesCArray *, CMPFileDetails *)

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

Parameters

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

MapcInitComplete(TInt, const TTimeIntervalMicroSeconds &)

void MapcInitComplete ( TInt aError,
const TTimeIntervalMicroSeconds & aDuration
)

Parameters

TInt aError
const TTimeIntervalMicroSeconds & aDuration

MapcPlayComplete(TInt)

void MapcPlayComplete ( TInt aError )

Parameters

TInt aError

MvpuoEvent(const TMMFEvent &)

void MvpuoEvent ( const TMMFEvent & aEvent )

Parameters

const TMMFEvent & aEvent

MvpuoFrameReady(CFbsBitmap &, TInt)

void MvpuoFrameReady ( CFbsBitmap & aFrame,
TInt aError
)

Parameters

CFbsBitmap & aFrame
TInt aError

MvpuoOpenComplete(TInt)

void MvpuoOpenComplete ( TInt aError )

Parameters

TInt aError

MvpuoPlayComplete(TInt)

void MvpuoPlayComplete ( TInt aError )

Parameters

TInt aError

MvpuoPrepareComplete(TInt)

void MvpuoPrepareComplete ( TInt aError )

Parameters

TInt aError

NewL()

IMPORT_C CMPFileDetailsDialog * NewL ( ) [static]

Two-phased constructor.

SetFileDetailL(HBufC *&, const TDesC &)

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

Sets file detail in buffer.

Parameters

HBufC *& aBuf
const TDesC & aDetail

SetFileDetailL(HBufC *&, const TDesC8 &)

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

Parameters

HBufC *& aBuf
const TDesC8 & aDetail

SetTitleL(CAknPopupList *)

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

Parameters

CAknPopupList * aPopupList CAknPopupList which title is modified

UnLoadResources()

void UnLoadResources ( ) [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]