tsrc/testtools/stubsrv/inc/stubsrvsecuritypolicy.h
branchRCL_3
changeset 92 dde4619868dc
parent 86 703a2b94c06c
child 95 55a3258355ea
equal deleted inserted replaced
86:703a2b94c06c 92:dde4619868dc
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef SERVER_SECURITYPOLICY_H
       
    19 #define SERVER_SECURITYPOLICY_H
       
    20 
       
    21 #include "stubclientsrv.h"
       
    22 
       
    23 const TInt KStubSrvIpcRanges[] = 
       
    24     {
       
    25     0,
       
    26     EStubSrvInvalidIpc,
       
    27     };
       
    28 
       
    29 const TInt KStubSrvIpcRangeCount = sizeof(KStubSrvIpcRanges) / sizeof(TInt);
       
    30 
       
    31 const TUint8 KStubSrvElementsIndex[KStubSrvIpcRangeCount] = 
       
    32     {
       
    33     0,
       
    34     CPolicyServer::ENotSupported
       
    35     };
       
    36 
       
    37 const CPolicyServer::TPolicyElement KStubSrvElements[] = 
       
    38     {
       
    39     {TSecurityPolicy::EAlwaysPass, CPolicyServer::EFailClient},
       
    40     };
       
    41 
       
    42 const CPolicyServer::TPolicy KStubSrvPolicy =
       
    43     {
       
    44     CPolicyServer::EAlwaysPass,
       
    45     KStubSrvIpcRangeCount,                               
       
    46     KStubSrvIpcRanges,
       
    47     KStubSrvElementsIndex,
       
    48     KStubSrvElements
       
    49     };
       
    50 
       
    51 #endif
       
    52 
       
    53