MUpnpProfiler Class Reference

class MUpnpProfiler

MUpnpProfiler interface class

MUpnpProfiler defines an interface for media solver plugins. It contains methods for querying the profiles supported by this solver plugin and for resolving a DLNA profile of a given file.

dlnaprofiler.lib
Since
S60 v3.1
Public Member Functions
~MUpnpProfiler()
IMPORT_C HBufC *ProfileForFileL(const TDesC &, const TDesC8 &, RFile &)
IMPORT_C TIntSupportedProfilesL(CDesC16ArrayFlat *)

Constructor & Destructor Documentation

~MUpnpProfiler()

~MUpnpProfiler()[inline, virtual]

Member Functions Documentation

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

IMPORT_C HBufC *ProfileForFileL(const TDesC &aFilename,
const TDesC8 &aMimetype,
RFile &aFile
)[pure virtual]

ProfileForFileL is for resolving a DLNA profile of a given file. Besides of file name, also mime type of the file is passed as a parameter in order to avoid re-opening of the file.

Since
S60 v3.1

Parameters

const TDesC & aFilename
const TDesC8 & aMimetype
RFile & aFileHandle to opened file specified by aFilename

SupportedProfilesL(CDesC16ArrayFlat *)

IMPORT_C TIntSupportedProfilesL(CDesC16ArrayFlat *aProfiles)const [pure virtual]

SupportedProfilesL returns DLNA profiles that are currently supported.

Since
S60 v3.1

Parameters

CDesC16ArrayFlat * aProfilesDescriptor array where supported DLNA profiles are added.