sl@0: // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: #ifndef PANIC_H sl@0: #define PANIC_H sl@0: sl@0: #include sl@0: #include "clientrequest.h" sl@0: sl@0: enum TPanic sl@0: { sl@0: ESessionNotInitialised, // 0 PanicClient only. sl@0: ESessionAlreadyInitialised, // 1 PanicClient only. sl@0: ERepositoryNotFound, // 2 Not used. sl@0: EStartAlreadyInTransaction, // 3 PanicClient only. sl@0: ECommitNotInTransaction, // 4 PanicClient only. sl@0: EBadSubsessionHandle, // 5 PanicClient only. sl@0: EBadMessageNumber, // 6 PanicClient only. sl@0: ECacheIniFileCorrupted // 7 Panic server only (debug only). sl@0: #ifdef SYMBIAN_CENTREP_SUPPORT_MULTIROFS sl@0: ,EMultiRofsPanicOldCre, sl@0: EMultiRofsPanicGlobalOverride, sl@0: EMultiRofsPanicTypeOveride, sl@0: EMultiRofsPanicIllegalRofs sl@0: #endif sl@0: }; sl@0: sl@0: GLREF_C void Panic(TPanic aReason); sl@0: sl@0: GLREF_C void PanicClient(TPanic aReason, const TClientRequest& aMessage); sl@0: sl@0: #endif // PANIC_H