![Symbian OS Library](../../../../a_stock/mainheading.gif)
![]() |
![]() |
|
Location:
mmfcontrollerpluginresolver.h
Link against: mmfcontrollerframework.lib
class CMMFFormatSelectionParameters : public CBase;
Defines the format support required.
On construction, the selection parameters are blank, causing all plugins to be returned.
CBase
- Base class for all classes to be instantiated on the heap
CMMFFormatSelectionParameters
- Defines the format support required
Defined in CMMFFormatSelectionParameters
:
EMatchAny
, EMatchFileExtension
, EMatchHeaderData
, EMatchMimeType
, MatchData()
, MatchDataType()
, NewL()
, NewLC()
, SetMatchToFileNameL()
, SetMatchToHeaderDataL()
, SetMatchToMimeTypeL()
, SetMatchToUriL()
, TMatchDataType
, ~CMMFFormatSelectionParameters()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
static IMPORT_C CMMFFormatSelectionParameters *NewL();
Allocates and constructs a new format selection parameter object with blank parameters.
Calls NewLC()
.
|
static IMPORT_C CMMFFormatSelectionParameters *NewLC();
Allocates and constructs a new format selection parameter object with blank parameters, placing it on the cleanup stack.
|
IMPORT_C void SetMatchToFileNameL(const TDesC &aFileName);
Sets this object to match to a file extension.
aFileName can be a full filename or just an extension. If there is no dot in the filename and it is 5 characters or less in
length then it is assumed to be an extension. If the first character of the filename is a dot, it assumed to be an extension.
Otherwise, the filename is parsed using TParse
to reveal the extension.
Once the extension has been extracted, it is converted from unicode to utf8 and copied into iMatchData.
|
IMPORT_C void SetMatchToUriL(const TDesC &aUri);
Sets this object to match to a file extension specified by a URI
Once the extension has been extracted, it is copied into iMatchData.
|
IMPORT_C void SetMatchToMimeTypeL(const TDesC8 &aMimeType);
Sets this object to match to a MIME type.
|
IMPORT_C void SetMatchToHeaderDataL(const TDesC8 &aHeaderData);
Sets this object to match to a pattern in header data.
|
IMPORT_C const TDesC8 &MatchData() const;
Returns the data used to perform the plugin match.
|
IMPORT_C TMatchDataType MatchDataType() const;
Returns the type of the data used to perform the plugin match.
|
TMatchDataType
Describes the type of match to be performed. The match types are mutually exclusive.
|