class TFeatureSet |
Wrapper class used for multiple feature queries.
Public Member Functions | |
---|---|
TFeatureSet() | |
~TFeatureSet() | |
IMPORT_C TInt | Append(TUid) |
TInt | Append(TUid, TBool) |
IMPORT_C TBool | AreAllFeaturesSupported() |
TInt | Count() |
TUid | FeatureId(TInt) |
IMPORT_C TBool | IsFeatureSupported(TUid) |
void | Reset() |
Private Attributes | |
---|---|
TInt | iCount |
TUint32 | iReserved |
RArray< TFeatureStat > | iStatus |
IMPORT_C TInt | Append | ( | TUid | aFeature | ) |
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
TUid aFeature |
IMPORT_C TBool | AreAllFeaturesSupported | ( | ) | 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.
IMPORT_C TBool | IsFeatureSupported | ( | TUid | aFeature | ) | 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.
TUid aFeature | is the feature UID of the feature that is queried. |