Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: e32cmn.h

_LIT_SECURITY_POLICY_C6

_LIT_SECURITY_POLICY_C6 (n, c1, c2, c3, c4, c5, c6) _LIT_SECURITY_POLICY_C7(n,c1,c2,c3,c4,c5,c6,ECapability_None)

Description

Macro for compile-time definition of a security policy object The policy will check for six capabilities.

The object declared has an implicit conversion to const TSecurityPolicy&. Taking the address of the object will return a const TSecurityPolicy*. Explicit conversion to const TSecurityPolicy& may be effected by using the function call operator n().

If an invlid capability value is specified then, dependant on the compiler, a compile time error or warning will be produced which includes the label "__invalid_capability_value"

Parameters

n

Name to use for policy object

c1

The first capability to check (enumerator of TCapability)

c2

The second capability to check (enumerator of TCapability)

c3

The third capability to check (enumerator of TCapability)

c4

The fourth capability to check (enumerator of TCapability)

c5

The fifth capability to check (enumerator of TCapability)

c6

The sixth capability to check (enumerator of TCapability)