UIQ Technology
Symbian OS Library

UIQ 3.1 SDK        UIQ developer portal

[Index] [Spacer] [Previous] [Next]



Location: EComResolverParams.h

Class TEComResolverParams

class TEComResolverParams;

Description

Used to pass values to a Resolver to aid in the filtering of Interface Implementation plugins. These values are considered match characteristics used during resolution of these Interface Implementation. This structure DOES NOT own the instance pointer variables, and so WILL NOT delete them.

Members

Defined in TEComResolverParams:
DataType(), IsGenericMatch(), IsWildcardMatch(), SetDataType(), SetGenericMatch(), SetWildcardMatch(), TEComResolverParams()


Construction and destruction


TEComResolverParams()

inline TEComResolverParams();

Description

Default c'tor

[Top]


Member functions


DataType()

inline const TDesC8 &DataType() const;

Pre-Condition

The object is constructed

Description

Provides read access to the Interface Implementation plugin 'datatype' match pattern.

Return value

const TDesC8 &

The read only 'datatype' match pattern.


SetDataType()

inline void SetDataType(const TDesC8 &aDataType);

Pre-Condition

The object is constructed

Description

Set the Interface Implementation plugin 'datatype' match pattern.

Post-Condition

iDataType equals aDataType.

Parameters

const TDesC8 &aDataType

The 'datatype' match pattern to be stored.


IsGenericMatch()

inline TBool IsGenericMatch() const;

Pre-Condition

The object is constructed

Description

Check if 'generic' matching is allowed.

Return value

TBool

ETrue if generic matching is allowed, EFalse otherwise.


SetGenericMatch()

inline void SetGenericMatch(TBool aGenericMatch);

Pre-Condition

The object is constructed

Description

Indicates that a 'generic' match is required.

Either allow Interface Implementation plugins that are specific (use no wildcards in their registry file) or generic (use wildcards in their registry file).

In any case the user of a should NOT use wildcards in the datatype string that is passed into this object.

Rationale: The client that sets up the resolver is expected to know what type of data it is handling.

Use Case: "I have this gif to convert, but I'd prefer only gif-specific plugins" or "I have this gif to convert, but I'm happy with some generic image conversion plugin".

NOT: "I have this image I want some plugin to convert, but I don't know the type of the image".

Post-Condition

iGenericMatch equals aGenericMatch.

Parameters

TBool aGenericMatch

ETrue if a generic match is required, EFalse if not.


IsWildcardMatch()

Interface status: deprecated

inline TBool IsWildcardMatch() const;

Pre-Condition

The object is constructed

Description

Return value

TBool

See also:


SetWildcardMatch()

Interface status: deprecated

inline void SetWildcardMatch(TBool aWildcardMatch);

Pre-Condition

The object is constructed

Description

Post-Condition

iGenericMatch equals aWildcardMatch.

Parameters

TBool aWildcardMatch

See also: