sysstatemgmt/systemstatemgr/ssm/inc/ssmswppolicyconst.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // ssmswppolicyconst.h
       
     2 
       
     3 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     4 // All rights reserved.
       
     5 // This component and the accompanying materials are made available
       
     6 // under the terms of "Eclipse Public License v1.0"
       
     7 // which accompanies this distribution, and is available
       
     8 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     9 //
       
    10 // Initial Contributors:
       
    11 // Nokia Corporation - initial contribution.
       
    12 //
       
    13 // Contributors:
       
    14 //
       
    15 // Description:
       
    16 //
       
    17 
       
    18 #ifndef SSMSWPPOLICYCONST_H_
       
    19 #define SSMSWPPOLICYCONST_H_
       
    20 
       
    21 const TUint KFirstUsedOpCode = 1;
       
    22 
       
    23 enum TSsmSwpPolicySrvCommand
       
    24 	{
       
    25 	ESsmPolicySrvSetSwpPolicyDllHandleAndInitialize = KFirstUsedOpCode,
       
    26 	ESsmPolicySrvInitializeCancel,
       
    27 	ESsmPolicySrvPrepareCommandList,
       
    28 	ESsmPolicySrvPrepareCommandListCancel,
       
    29 	ESsmPolicySrvCommandList,
       
    30 	ESsmPolicySrvHandleCleReturnValue,
       
    31 	ESsmPolicySrvHandleCleReturnValueCancel,
       
    32 
       
    33 	//Only for testing purpose and used in debug builds only
       
    34 	EDebugMarkHeap,
       
    35 	EDeleteSSwpPolicySessionInfo,
       
    36 	EDebugMarkHeapEnd,
       
    37 	EDebugSetHeapFailure,
       
    38 	EDebugHeapReset,
       
    39 	
       
    40 	EEndOfSsmSwpPolicySrvOpCodes
       
    41 	};
       
    42 
       
    43 const TInt KSsmSwpPolicySrvVersionMajor = 0; // 0-127
       
    44 const TInt KSsmSwpPolicySrvVersionMinor = 0; // 0-99
       
    45 const TInt KSsmSwpPolicySrvVersionBuild = 0; // 0-32767
       
    46 	
       
    47 _LIT(KSsmSwpPolicyServer,"SsmSwpPolicyServer");
       
    48 
       
    49 #define IN_RANGE( x, y ) ( (x >= 0) && (x < y) )
       
    50 
       
    51 _LIT( KSsmSwpPolicyBadIdx,"SsmSwpPolicyBadIdx" );
       
    52 const TInt KSsmSwpPolicySrvArrayIndexInvalid = -555;	//random no.
       
    53 const TInt KSsmSwpPolicyStreamBufMaxSize = 6000;
       
    54 	
       
    55 #endif //SSMSWPPOLICYCONST_H_