CMMFControllerPluginSelectionParameters Class Reference

#include <mmf/common/mmfcontrollerpluginresolver.h>

Link against: mmfcontrollerframework.lib

class CMMFControllerPluginSelectionParameters : public CMMFPluginSelectionParameters, public CMMFPluginSelectionParameters

Inherits from

Protected Attributes
CMMFFormatSelectionParameters *iRequiredPlayFormatSupport
CMMFFormatSelectionParameters *iRequiredRecordFormatSupport
Public Member Functions
virtual ~CMMFControllerPluginSelectionParameters()
virtual IMPORT_C voidListImplementationsL(RMMFControllerImplInfoArray &)
IMPORT_C CMMFControllerPluginSelectionParameters *NewL()
IMPORT_C CMMFControllerPluginSelectionParameters *NewLC()
IMPORT_C voidSetRequiredPlayFormatSupportL(const CMMFFormatSelectionParameters &)
IMPORT_C voidSetRequiredRecordFormatSupportL(const CMMFFormatSelectionParameters &)
Protected Member Functions
CMMFControllerPluginSelectionParameters()
TBool CheckFormatSupportL(CMMFFormatSelectionParameters *, const RMMFFormatImplInfoArray &)
TInt CheckPreferredSupplierL(RMMFControllerImplInfoArray &, const CMMFControllerImplementationInformation &)
TBool CheckUriSupport(CMMFFormatSelectionParameters *, CMMFControllerImplementationInformation *, const RMMFFormatImplInfoArray &)
voidMatchImplementationToSelectParamsL(RMMFControllerImplInfoArray &, const CMMFControllerImplementationInformation &, TInt &)
Inherited Enumerations
CMMFPluginSelectionParameters:TMediaIdMatchType
CMMFPluginSelectionParameters:TPreferredSupplierMatchType
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()

Detailed Description

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

Since
7.0s

Member Attribute Documentation

iRequiredPlayFormatSupport

CMMFFormatSelectionParameters *iRequiredPlayFormatSupport[protected]

The required play format support

iRequiredRecordFormatSupport

CMMFFormatSelectionParameters *iRequiredRecordFormatSupport[protected]

The required record format support

Constructor & Destructor Documentation

CMMFControllerPluginSelectionParameters ( )

CMMFControllerPluginSelectionParameters()[protected]

~CMMFControllerPluginSelectionParameters ( )

~CMMFControllerPluginSelectionParameters()[virtual]

Destructor

Member Function Documentation

CheckFormatSupportL ( CMMFFormatSelectionParameters *, const RMMFFormatImplInfoArray & )

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

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
aSelectParamsDescribes the selection parameter which a controller needs to support in order to be selected
aPluginThe controller plugin which is checked for uri support
aFormatsThe play or record formats looked for extension match

ListImplementationsL ( RMMFControllerImplInfoArray & )

IMPORT_C voidListImplementationsL(RMMFControllerImplInfoArray &aImplementations)const [virtual]

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

Since
7.0s
Parameters
aImplementationsAfter 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 & )

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

NewL ( )

Constructs a new controller selection parameters object.

Since
7.0s
Return Value
The new object created.

NewLC ( )

IMPORT_C CMMFControllerPluginSelectionParameters *NewLC()[static]

Construct a new controller selection parameters object.

Since
7.0s
Return Value
The new object created. Note that the new object will be left on the cleanup stack.

SetRequiredPlayFormatSupportL ( const CMMFFormatSelectionParameters & )

IMPORT_C voidSetRequiredPlayFormatSupportL(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
aRequiredSupportThe play format support required.

SetRequiredRecordFormatSupportL ( const CMMFFormatSelectionParameters & )

IMPORT_C voidSetRequiredRecordFormatSupportL(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
aRequiredSupportThe record format support required.
Return Value
The new object created.