TFeatureSet Class Reference

class TFeatureSet

Wrapper class used for multiple feature queries.

Nested Classes and Structures

Constructor & Destructor Documentation

TFeatureSet()

IMPORT_CTFeatureSet()

Constructor

~TFeatureSet()

IMPORT_C~TFeatureSet()

Destructor

Member Functions Documentation

Append(TUid)

IMPORT_C TIntAppend(TUidaFeature)

Method to add features before querying support statuses. This method must be called to initialize feature array before querying support statuses from server with FeaturesSupported(L) and finally check the status with a call to IsFeatureSupported or AreAllFeaturesSupported.

KErrNone if feature addition succeded. Otherwise one of the Symbian OS error codes

Parameters

TUid aFeature

Append(TUid, TBool)

TInt Append(TUidaFeature,
TBoolaSupported
)

Parameters

TUid aFeature
TBool aSupported

AreAllFeaturesSupported()

IMPORT_C TBoolAreAllFeaturesSupported()const

Method to check whether all features queried are supported.

ETrue if all features queried are supported or no features have been queried. Otherwise EFalse.

Count()

TInt Count()

FeatureId(TInt)

TUid FeatureId(TIntaIndex)const

Parameters

TInt aIndex

IsFeatureSupported(TUid)

IMPORT_C TBoolIsFeatureSupported(TUidaFeature)const

Method to check feature's support status.

a TBool indicating whether the feature is supported (ETrue) or not (EFalse). If the feature does not exist, the return value is EFalse.

Parameters

TUid aFeatureis the feature UID of the feature that is queried.

Reset()

voidReset()

Member Data Documentation

TInt iCount

TInt iCount[private]

TUint32 iReserved

TUint32 iReserved[private]

RArray< TFeatureStat > iStatus

RArray< TFeatureStat >iStatus[private]