CCFContextQuery Class Reference

class CCFContextQuery : public CBase

Context query can be used to request context objects from Context Framework server. Context query consists of a context source and a context type.

CFServices.lib
Since
S60 5.0

Inherits from

Member Functions Documentation

NewL()

IMPORT_C CCFContextQuery *NewL()[static]

Two phased constructors without construction params.

Since
S60 5.0

NewL(const TDesC &, const TDesC &)

IMPORT_C CCFContextQuery *NewL(const TDesC &aSource,
const TDesC &aType
)[static]

Two phased constructor. Takes a source and type of the queried context as a parameter.

Since
S60 5.0

Parameters

const TDesC & aSourceContext source.
const TDesC & aTypeContext Type.

NewLC()

IMPORT_C CCFContextQuery *NewLC()[static]

NewLC(const TDesC &, const TDesC &)

IMPORT_C CCFContextQuery *NewLC(const TDesC &aSource,
const TDesC &aType
)[static]

Parameters

const TDesC & aSource
const TDesC & aType

SetSourceL(const TDesC &)

voidSetSourceL(const TDesC &aSource)[pure virtual]

Sets desired context source.

Since
S60 5.0

Parameters

const TDesC & aSourceThe source string to be copied.

SetSubTypeMatch(TBool)

voidSetSubTypeMatch(TBoolaMatchSubTypes)[pure virtual]

Sets sub type match.

Since
S60 5.0

Parameters

TBool aMatchSubTypesFlag indicating sub type match.

SetTypeL(const TDesC &)

voidSetTypeL(const TDesC &aType)[pure virtual]

Sets desired context type.

Since
S60 5.0

Parameters

const TDesC & aTypeThe type string to be copied.

Source()

const TDesC &Source()const [pure virtual]

Returns context source.

Since
S60 5.0

SubTypeMatch()

TBool SubTypeMatch()const [pure virtual]

Checks if sub type match is set.

Since
S60 5.0

Type()

const TDesC &Type()const [pure virtual]

Returns context type.

Since
S60 5.0