Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: e32cmn.h

_LIT_SECURITY_POLICY_C3

_LIT_SECURITY_POLICY_C3 (n, c1, c2, c3) const TStaticSecurityPolicy n = _INIT_SECURITY_POLICY_C3(c1,c2,c3)

Description

Macro for compile-time definition of a security policy object The policy will check for three 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)