sysstatemgmt/systemstatemgr/cmn/inc/cmnpanic.h
changeset 0 4e1aa6a622a0
child 76 cb32bcc88bad
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 //
       
    15 
       
    16 #if !defined (__CMNPANICCODES_H__)
       
    17 #define __CMNPANICCODES_H__
       
    18 
       
    19 #include <e32std.h>
       
    20 
       
    21 _LIT(KPanicSsmCmn, "Ssm-Cmn");
       
    22 
       
    23 enum TCmnPanicCodes
       
    24 	{
       
    25 	//CSsmPropertyMonitor errors
       
    26 	ECmnPropMonError1 = 1,
       
    27 	
       
    28 	//CSsmStateMonitor errors
       
    29 	ECmnStateMonError1,
       
    30 	
       
    31 	//CSsmSystemWideProperty errors
       
    32 	ECmnSwpSession1,
       
    33 	
       
    34 	//SsmStateAwareSession errors
       
    35 	ECmnErrState,
       
    36 	ECmnErrRqstStateNotif,
       
    37 	ECmnErrRqstStateNotifCancel,
       
    38 	ECmnErrAcknldgStateNotif,
       
    39 	ECmnErrAcknldgRqstStateNotif,
       
    40 	ECmnErrStateMon,
       
    41 	
       
    42 	//TSsmState errors
       
    43 	ECmnStateMaxValue1,		//Out of range value supplied to the main state in TSsmState::TSsmState()
       
    44 	ECmnStateMaxValue2,		//Out of range value supplied to the main state in TSsmState::TSsmState()
       
    45 	ECmnStateMaxValue3,		//Out of range value supplied to the main state in TSsmState::Set()
       
    46 	ECmnStateMaxValue4		//Out of range value supplied to the main state in TSsmState::SetFromInt()
       
    47 	};
       
    48 
       
    49 #endif // __CMNPANICCODES_H__