#include <mmf/common/mmfcontrollerpluginresolver.h>
Link against: mmfcontrollerframework.lib
| class CMMFControllerPluginSelectionParameters : public CMMFPluginSelectionParameters, public CMMFPluginSelectionParameters |
| Protected Attributes | |
|---|---|
| CMMFFormatSelectionParameters * | iRequiredPlayFormatSupport |
| CMMFFormatSelectionParameters * | iRequiredRecordFormatSupport |
| Public Member Functions | |
|---|---|
| virtual | ~CMMFControllerPluginSelectionParameters() |
| virtual 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 &) |
| Inherited Enumerations | |
|---|---|
| CMMFPluginSelectionParameters:TMediaIdMatchType | |
| CMMFPluginSelectionParameters:TPreferredSupplierMatchType | |
Contains the parameters used to select controller plugins from the ECOM registry.
| CMMFFormatSelectionParameters * | iRequiredPlayFormatSupport | [protected] |
The required play format support
| CMMFFormatSelectionParameters * | iRequiredRecordFormatSupport | [protected] |
The required record format support
| CMMFControllerPluginSelectionParameters | ( | ) | [protected] |
| ~CMMFControllerPluginSelectionParameters | ( | ) | [virtual] |
Destructor
| TBool | CheckFormatSupportL | ( | CMMFFormatSelectionParameters * | aSelectParams, |
| const RMMFFormatImplInfoArray & | aFormats | |||
| ) | const [protected] | |||
| TInt | CheckPreferredSupplierL | ( | RMMFControllerImplInfoArray & | aImplementations, |
| const CMMFControllerImplementationInformation & | aPlugin | |||
| ) | const [protected] | |||
| 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 | |
|---|---|
| aSelectParams | Describes the selection parameter which a controller needs to support in order to be selected |
| aPlugin | The controller plugin which is checked for uri support |
| aFormats | The play or record formats looked for extension match |
| IMPORT_C void | ListImplementationsL | ( | RMMFControllerImplInfoArray & | aImplementations | ) | const [virtual] |
Retrieves all controller plugins that support the requirements of the caller.
| Parameters | |
|---|---|
| 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. |
| void | MatchImplementationToSelectParamsL | ( | RMMFControllerImplInfoArray & | aImplementations, |
| const CMMFControllerImplementationInformation & | aPlugin, | |||
| TInt & | aArrayPos | |||
| ) | const [protected] | |||
| IMPORT_C CMMFControllerPluginSelectionParameters * | NewL | ( | ) | [static] |
Constructs a new controller selection parameters object.
| IMPORT_C CMMFControllerPluginSelectionParameters * | NewLC | ( | ) | [static] |
Construct a new controller selection parameters object.
| 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.
| Parameters | |
|---|---|
| aRequiredSupport | The play format support required. |
| 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.
| Parameters | |
|---|---|
| aRequiredSupport | The record format support required. |