CUpnpDlnaProfiler Class Reference

class CUpnpDlnaProfiler : public CBase

CUpnpDlnaProfiler is a class for resolving DLNA profile for a given file.

CUpnpDlnaProfiler class can be used to resolve a DLNA profile for a media file (image, AV, video). User of this class can also query for a list of currently supported DLNA profiles.

dlnaprofiler.lib
Since
S60 v3.1

Inherits from

Constructor & Destructor Documentation

CUpnpDlnaProfiler()

CUpnpDlnaProfiler ( ) [private]

~CUpnpDlnaProfiler()

~CUpnpDlnaProfiler ( ) [virtual]

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

DlnaProfileFromSolversL(const TDesC &, const TDesC8 &, RFile &)

HBufC * DlnaProfileFromSolversL ( const TDesC & aFilename,
const TDesC8 & aMimetype,
RFile & aFile
) [private]
DlnaProfileFromSolversL checks the mime type given as parameter and forwards the recognition task to solver plugins corresponding the mimetype.
Since
S60 v3.1

Parameters

const TDesC & aFilename
const TDesC8 & aMimetype
RFile & aFile Handle to opened file specified by aFilename.

NewL()

IMPORT_C CUpnpDlnaProfiler * NewL ( ) [static]

NewLC()

IMPORT_C CUpnpDlnaProfiler * NewLC ( ) [static]

ProfileForFileL(const TDesC &)

IMPORT_C HBufC * ProfileForFileL ( const TDesC & aFilename )

ProfileForFileL is for resolving a DLNA profile of a given file.

Since
S60 v3.1

Parameters

const TDesC & aFilename

ProfileForFileL(const TDesC &, RFile &, CUpnpResParameters &)

IMPORT_C HBufC * ProfileForFileL ( const TDesC & aFilename,
RFile & aFile,
CUpnpResParameters & aParameters
)
ProfileForFileL is for resolving a DLNA profile of a given file. Takes RFile and CUpnpResParameters parameters in order to minimize the amount of file opening.
Since
S60 v3.1

Parameters

const TDesC & aFilename
RFile & aFile Handle to opened file specified by aFilename.
CUpnpResParameters & aParameters Res parameters that are already known.

SupportedProfilesL(CDesC16ArrayFlat *)

IMPORT_C TInt SupportedProfilesL ( CDesC16ArrayFlat * aProfiles ) const

SupportedProfilesL returns DLNA profiles that are currently supported.

Since
S60 v3.1

Parameters

CDesC16ArrayFlat * aProfiles Descriptor array where supported DLNA profiles are added.

Member Data Documentation

RPointerArray< MUpnpProfiler > iAudioSolvers

RPointerArray < MUpnpProfiler > iAudioSolvers [private]

iAudioSolvers is a list of audio solver plugins. Base solver plugin is the first one on the list and the rest are product specific solvers. These are used for resolving a DLNA profile of an audio file.

RPointerArray< MUpnpProfiler > iAvSolvers

RPointerArray < MUpnpProfiler > iAvSolvers [private]

iAvSolvers is a list of AV solver plugins. Base solver plugin is the first one on the list and the rest are product specific solvers. These are used for resolving a DLNA profile of an AV (video) file.

RPointerArray< MUpnpProfiler > iImageSolvers

RPointerArray < MUpnpProfiler > iImageSolvers [private]

iImageSolvers is a list of image solver plugins. Base solver plugin is the first one on the list and the rest are product specific solvers. These are used for resolving a DLNA profile of an image file.