Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]


capability

capability capability-names

Use the capability statement to specify the platform security capabilities of the executable.

The setting is only functional on OS versions based on the EKA2 kernel. For those versions based on EKA1, the keyword is ignored.

For information on the use of capabilities, and the current capability set, see the Symbian OS Guide/Platform security/Symbian OSv9.0 Security Architecture.

The keyword is followed by a space separated set of capabilities, for example:

CAPABILITY LocalServices ReadDeviceData ReadUserData

The special capability name ALL is used to represents all capabilities supported by the current version of Symbian OS. This can be used as an alternative to naming all capabilities individually.

ALL can also be used together with capability names prefixed by a '-', to indicate which capabilities to exclude, e.g.

CAPABILITY ALL -TCB -TrustedUI

indicates a set of all capabilities excluding TCB and TrustedUI.

If no capabilities are required, then NONE can be used.

If the CAPABILITY keyword is not present in the MMP file, then the default of CAPABILITY NONE is used.