Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: e32cmn.h

_INIT_SECURITY_POLICY_C4

_INIT_SECURITY_POLICY_C4 (c1, c2, c3, c4) _INIT_SECURITY_POLICY_C7(c1,c2,c3,c4,ECapability_None,ECapability_None,ECapability_None)

Description

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

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)