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 & aSource Context source.
const TDesC & aType Context 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 &)

void SetSourceL ( const TDesC & aSource ) [pure virtual]

Sets desired context source.

Since
S60 5.0

Parameters

const TDesC & aSource The source string to be copied.

SetSubTypeMatch(TBool)

void SetSubTypeMatch ( TBool aMatchSubTypes ) [pure virtual]

Sets sub type match.

Since
S60 5.0

Parameters

TBool aMatchSubTypes Flag indicating sub type match.

SetTypeL(const TDesC &)

void SetTypeL ( const TDesC & aType ) [pure virtual]

Sets desired context type.

Since
S60 5.0

Parameters

const TDesC & aType The 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