persistentstorage/centralrepository/common/inc/panic.h
changeset 55 44f437012c90
parent 0 08ec8eefde2f
equal deleted inserted replaced
51:7d4490026038 55:44f437012c90
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    19 #include <e32std.h>
    19 #include <e32std.h>
    20 #include "clientrequest.h"
    20 #include "clientrequest.h"
    21 
    21 
    22 enum TPanic
    22 enum TPanic
    23 	{
    23 	{
    24 	ESessionNotInitialised,			// 0 PanicClient only.
    24 	ESessionNotInitialised,        // 0 PanicClient only.
    25 	ESessionAlreadyInitialised,		// 1 PanicClient only.
    25 	ESessionAlreadyInitialised,    // 1 PanicClient only.
    26 	ERepositoryNotFound,			// 2 Not used.
    26 	ERepositoryNotFound,           // 2 Not used.
    27 	EStartAlreadyInTransaction,		// 3 PanicClient only.
    27 	EStartAlreadyInTransaction,    // 3 PanicClient only.
    28 	ECommitNotInTransaction,		// 4 PanicClient only.
    28 	ECommitNotInTransaction,       // 4 PanicClient only.
    29 	EBadSubsessionHandle,			// 5 PanicClient only.
    29 	EBadSubsessionHandle,          // 5 PanicClient only.
    30 	EBadMessageNumber,				// 6 PanicClient only.
    30 	EBadMessageNumber,             // 6 PanicClient only.
    31 	ECacheIniFileCorrupted			// 7 Panic server only (debug only).
    31 	ECacheIniFileCorrupted         // 7 Panic server only (debug only).
    32 #ifdef SYMBIAN_CENTREP_SUPPORT_MULTIROFS	
    32 #ifdef SYMBIAN_CENTREP_SUPPORT_MULTIROFS	
    33 	,EMultiRofsPanicOldCre,
    33 	,EMultiRofsPanicOldCre,        // 8
    34 	EMultiRofsPanicGlobalOverride,
    34 	EMultiRofsPanicGlobalOverride, // 9
    35 	EMultiRofsPanicTypeOveride,
    35 	EMultiRofsPanicTypeOveride,    // 10
    36 	EMultiRofsPanicIllegalRofs
    36 	EMultiRofsPanicIllegalRofs     // 11
       
    37 #endif
       
    38 #ifdef SYMBIAN_INCLUDE_APP_CENTRIC
       
    39 	,EPmaDriveNotAvailable         // 12 Panic server only. PMA drive is not available.
    37 #endif
    40 #endif
    38 	};
    41 	};
    39 
    42 
    40 GLREF_C void Panic(TPanic aReason);
    43 GLREF_C void Panic(TPanic aReason);
    41 
    44