sysstatemgmt/systemstatemgr/cmn/inc/ssmclisrv.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // ssmclisrv.cpp
       
    15 // 
       
    16 //
       
    17 
       
    18 #ifndef __SSMCLISRV_H__
       
    19 #define __SSMCLISRV_H__
       
    20 
       
    21 /**
       
    22 @internalComponent
       
    23 @released
       
    24 */
       
    25 _LIT(KSsmServerName, "!SysStateMgr");
       
    26 
       
    27 /**
       
    28 A version must be specifyed when creating a session with the server
       
    29 @internalComponent
       
    30 @released
       
    31 */
       
    32 const TUint KSsmServMajorVersionNumber=0;
       
    33 /**
       
    34 @internalComponent
       
    35 @released
       
    36 */
       
    37 const TUint KSsmServMinorVersionNumber=1;
       
    38 /**
       
    39 @internalComponent
       
    40 @released
       
    41 */
       
    42 const TUint KSsmServBuildVersionNumber=1;
       
    43 /**
       
    44 @internalComponent
       
    45 @released
       
    46 */
       
    47 const TInt  KSsmFirstUsedOpCode = 1;
       
    48 
       
    49 /**
       
    50 Op-codes used in message passing between client and server.
       
    51 @internalComponent
       
    52 @released
       
    53 */
       
    54 enum TSsmServerRequests
       
    55 	{
       
    56 	ERequestStateTransition = KSsmFirstUsedOpCode,
       
    57 	ERequestStateTransitionCancel,
       
    58 	ERequestSwpChange,
       
    59 	ERequestSwpChangeCancel,
       
    60 	ERequestRegisterSwpMapping,
       
    61 	//Only for testing purpose
       
    62 	ERequestMarkHeap,
       
    63 	ERequestMarkHeapEnd,
       
    64 	ERequestDeRegisterSwpMapping,
       
    65 	//End of supported opcodes
       
    66 	EEndOfSsmOpCodes
       
    67 	};
       
    68 
       
    69 //Used only for testing purpose
       
    70 enum TSsmHeapMarkEndParameters
       
    71 	{
       
    72 	ENoCleanup,
       
    73 	EDoCleanup,
       
    74 	ECleanupStateTransitionEngineOnly,
       
    75 	ECleanupSwpRequestHandlerOnly
       
    76 	};
       
    77 #endif