persistentstorage/centralrepository/common/inc/panic.h
changeset 0 08ec8eefde2f
equal deleted inserted replaced
-1:000000000000 0:08ec8eefde2f
       
     1 // Copyright (c) 2004-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 #ifndef PANIC_H
       
    17 #define PANIC_H
       
    18 
       
    19 #include <e32std.h>
       
    20 #include "clientrequest.h"
       
    21 
       
    22 enum TPanic
       
    23 	{
       
    24 	ESessionNotInitialised,			// 0 PanicClient only.
       
    25 	ESessionAlreadyInitialised,		// 1 PanicClient only.
       
    26 	ERepositoryNotFound,			// 2 Not used.
       
    27 	EStartAlreadyInTransaction,		// 3 PanicClient only.
       
    28 	ECommitNotInTransaction,		// 4 PanicClient only.
       
    29 	EBadSubsessionHandle,			// 5 PanicClient only.
       
    30 	EBadMessageNumber,				// 6 PanicClient only.
       
    31 	ECacheIniFileCorrupted			// 7 Panic server only (debug only).
       
    32 #ifdef SYMBIAN_CENTREP_SUPPORT_MULTIROFS	
       
    33 	,EMultiRofsPanicOldCre,
       
    34 	EMultiRofsPanicGlobalOverride,
       
    35 	EMultiRofsPanicTypeOveride,
       
    36 	EMultiRofsPanicIllegalRofs
       
    37 #endif
       
    38 	};
       
    39 
       
    40 GLREF_C void Panic(TPanic aReason);
       
    41 
       
    42 GLREF_C void PanicClient(TPanic aReason, const TClientRequest& aMessage);
       
    43 
       
    44 #endif // PANIC_H