Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: e32cmn.h

_LIT_SECURITY_POLICY_C1

_LIT_SECURITY_POLICY_C1 (n, c1) _LIT_SECURITY_POLICY_C3(n,c1,ECapability_None,ECapability_None)

Description

Macro for compile-time definition of a security policy object The policy will check for one capability.

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)