diff -r 48780e181b38 -r 578be2adaf3e Symbian3/PDK/Source/GUID-5589AAB6-3801-5B3D-98D8-459508B4F836.dita --- a/Symbian3/PDK/Source/GUID-5589AAB6-3801-5B3D-98D8-459508B4F836.dita Tue Jul 20 12:00:49 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-5589AAB6-3801-5B3D-98D8-459508B4F836.dita Fri Aug 13 16:47:46 2010 +0100 @@ -1,61 +1,61 @@ - - - - - -Adding -a Feature How to add a feature using RFeatureControl. -

To add a feature -using RFeatureControl, take the following steps.

- - -Determine the Uid of the feature you want to add, - - -create an instance of TFeatureEntry, - - -set its Uid, feature flags and feature data to the correct values for -the feature you want to add, - - -create an instance of RFeatureControl, - - -call its Open() function, - - -call its AddFeature() function with a reference to -the TFeatureEntry as argument, and - - -call its Close() function. - - -

The call to AddFeature() requires WriteDeviceData capability. -It returns:

    -
  • KErrNone if -the feature was successfully added,

  • -
  • KPermissionDenied if -a capability check fails,

  • -
  • KAlreadyExists if -the feature already exists, and

  • -
  • otherwise returns an -error code.

  • -
-
-Enabling -and disabling a feature -Setting and -updating a feature -Feature Manager -Collection Overview -Feature Manager -Modification Tutorials + + + + + +Adding +a Feature How to add a feature using RFeatureControl. +

To add a feature +using RFeatureControl, take the following steps.

+ + +Determine the Uid of the feature you want to add, + + +create an instance of TFeatureEntry, + + +set its Uid, feature flags and feature data to the correct values for +the feature you want to add, + + +create an instance of RFeatureControl, + + +call its Open() function, + + +call its AddFeature() function with a reference to +the TFeatureEntry as argument, and + + +call its Close() function. + + +

The call to AddFeature() requires WriteDeviceData capability. +It returns:

    +
  • KErrNone if +the feature was successfully added,

  • +
  • KPermissionDenied if +a capability check fails,

  • +
  • KAlreadyExists if +the feature already exists, and

  • +
  • otherwise returns an +error code.

  • +
+
+Enabling +and disabling a feature +Setting and +updating a feature +Feature Manager +Collection Overview +Feature Manager +Modification Tutorials
\ No newline at end of file