CMMFControllerPluginSelectionParameters Class Reference

class CMMFControllerPluginSelectionParameters : public CMMFPluginSelectionParameters

Contains the parameters used to select controller plugins from the ECOM registry.

Since
7.0s

Inherits from

Public Member Functions
~CMMFControllerPluginSelectionParameters ()
IMPORT_C void ListImplementationsL ( RMMFControllerImplInfoArray &)
IMPORT_C CMMFControllerPluginSelectionParameters * NewL ()
IMPORT_C CMMFControllerPluginSelectionParameters * NewLC ()
IMPORT_C void SetRequiredPlayFormatSupportL (const CMMFFormatSelectionParameters &)
IMPORT_C void SetRequiredRecordFormatSupportL (const CMMFFormatSelectionParameters &)
Protected Member Functions
CMMFControllerPluginSelectionParameters ()
TBool CheckFormatSupportL ( CMMFFormatSelectionParameters *, const RMMFFormatImplInfoArray &)
TInt CheckPreferredSupplierL ( RMMFControllerImplInfoArray &, const CMMFControllerImplementationInformation &)
TBool CheckUriSupport ( CMMFFormatSelectionParameters *, CMMFControllerImplementationInformation *, const RMMFFormatImplInfoArray &)
void MatchImplementationToSelectParamsL ( RMMFControllerImplInfoArray &, const CMMFControllerImplementationInformation &, TInt &)
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()
CMMFPluginSelectionParameters::CMMFPluginSelectionParameters(TUid)
CMMFPluginSelectionParameters::CheckMediaIdSupportL(const CMMFPluginImplementationInformation &)const
CMMFPluginSelectionParameters::InterfaceUid()const
CMMFPluginSelectionParameters::MediaIdMatchType()const
CMMFPluginSelectionParameters::MediaIds()const
CMMFPluginSelectionParameters::PreferredSupplier()const
CMMFPluginSelectionParameters::PreferredSupplierMatchType()const
CMMFPluginSelectionParameters::SetMediaIdsL(const RArray< TUid > &,TMediaIdMatchType)
CMMFPluginSelectionParameters::SetPreferredSupplierL(const TDesC &,TPreferredSupplierMatchType)
CMMFPluginSelectionParameters::~CMMFPluginSelectionParameters()
Inherited Enumerations
CMMFPluginSelectionParameters:TMediaIdMatchType
CMMFPluginSelectionParameters:TPreferredSupplierMatchType
Protected Attributes
CMMFFormatSelectionParameters * iRequiredPlayFormatSupport
CMMFFormatSelectionParameters * iRequiredRecordFormatSupport

Constructor & Destructor Documentation

CMMFControllerPluginSelectionParameters()

CMMFControllerPluginSelectionParameters ( ) [protected]

~CMMFControllerPluginSelectionParameters()

~CMMFControllerPluginSelectionParameters ( ) [virtual]

Destructor

Member Functions Documentation

CheckFormatSupportL(CMMFFormatSelectionParameters *, const RMMFFormatImplInfoArray &)

TBool CheckFormatSupportL ( CMMFFormatSelectionParameters * aSelectParams,
const RMMFFormatImplInfoArray & aFormats
) const [protected]

Parameters

CMMFFormatSelectionParameters * aSelectParams
const RMMFFormatImplInfoArray & aFormats

CheckPreferredSupplierL(RMMFControllerImplInfoArray &, const CMMFControllerImplementationInformation &)

TInt CheckPreferredSupplierL ( RMMFControllerImplInfoArray & aImplementations,
const CMMFControllerImplementationInformation & aPlugin
) const [protected]

CheckUriSupport(CMMFFormatSelectionParameters *, CMMFControllerImplementationInformation *, const RMMFFormatImplInfoArray &)

TBool CheckUriSupport ( CMMFFormatSelectionParameters * aSelectParams,
CMMFControllerImplementationInformation * aPlugin,
const RMMFFormatImplInfoArray & aFormats
) const [protected]

Checks the given Controller for uri support. Uri support may be there if either requiredscheme or extension matches with that given controller

Parameters

CMMFFormatSelectionParameters * aSelectParams Describes the selection parameter which a controller needs to support in order to be selected
CMMFControllerImplementationInformation * aPlugin The controller plugin which is checked for uri support
const RMMFFormatImplInfoArray & aFormats The play or record formats looked for extension match

ListImplementationsL(RMMFControllerImplInfoArray &)

IMPORT_C void ListImplementationsL ( RMMFControllerImplInfoArray & aImplementations ) const [virtual]

Retrieves all controller plugins that support the requirements of the caller.

Since
7.0s

Parameters

RMMFControllerImplInfoArray & aImplementations After this method returns, this array will contain all the controller plugins that support the caller's requirements. Note: The array will be emptied by this method.

MatchImplementationToSelectParamsL(RMMFControllerImplInfoArray &, const CMMFControllerImplementationInformation &, TInt &)

void MatchImplementationToSelectParamsL ( RMMFControllerImplInfoArray & aImplementations,
const CMMFControllerImplementationInformation & aPlugin,
TInt & aArrayPos
) const [protected]

Parameters

RMMFControllerImplInfoArray & aImplementations
const CMMFControllerImplementationInformation & aPlugin
TInt & aArrayPos

NewL()

IMPORT_C CMMFControllerPluginSelectionParameters * NewL ( ) [static]

Constructs a new controller selection parameters object.

Since
7.0s

NewLC()

IMPORT_C CMMFControllerPluginSelectionParameters * NewLC ( ) [static]

Construct a new controller selection parameters object.

Since
7.0s

SetRequiredPlayFormatSupportL(const CMMFFormatSelectionParameters &)

IMPORT_C void SetRequiredPlayFormatSupportL ( const CMMFFormatSelectionParameters & aRequiredSupport )

Sets the play format support required.

Note: The play formats supported by the controller plugins will only be retrieved if this method is called. To get all the play formats supported by the system, call this with a 'blank' CMMFFormatSelectionParameters object.

Since
7.0s

Parameters

const CMMFFormatSelectionParameters & aRequiredSupport The play format support required.

SetRequiredRecordFormatSupportL(const CMMFFormatSelectionParameters &)

IMPORT_C void SetRequiredRecordFormatSupportL ( const CMMFFormatSelectionParameters & aRequiredSupport )

Sets the record format support required.

Note: The record formats supported by the controller plugins will only be retrieved if this method is called. To get all the record formats supported by the system, call this with a 'blank' CMMFFormatSelectionParameters object.

Since
7.0s

Parameters

const CMMFFormatSelectionParameters & aRequiredSupport The record format support required.

Member Data Documentation

CMMFFormatSelectionParameters * iRequiredPlayFormatSupport

CMMFFormatSelectionParameters * iRequiredPlayFormatSupport [protected]

The required play format support

CMMFFormatSelectionParameters * iRequiredRecordFormatSupport

CMMFFormatSelectionParameters * iRequiredRecordFormatSupport [protected]

The required record format support