// COEPANIC.H
//
// Copyright (c) 1997-1999 Symbian Ltd.  All rights reserved.
//

#if !defined(__COEPANIC_H__)
#define __COEPANIC_H__

enum TCoePanic
	{
	ECoePanicStartupHeapTooSmall=1,
	ECoePanicEnvironmentAlreadyExists=2,
	ECoePanicRootControlAlreadyExists=3,
	ECoePanicNoSuchControlInStack=4,
	ECoePanicLeaveWithoutTrap=5,
	ECoePanicLeaveWithoutTrapDuringRedraw=6,
	ECoePanicF32ResourceNotFreed=7,
	ECoePanicWservResourceNotFreed=8,
	ECoePanicWservBlindCommandFailed=9,
	ECoePanicWindowAlreadyCreated=10,
	ECoePanicNoWindow=11,
	ECoePanicControlIsNotContainer=12,
	ECoePanicUnknownResourceFile=13,
	ECoePanicNoResourceFileForId=14,
	ECoePanicResourceFileHasNullName=15,
	ECoePanicWrongResourceFormat=16,
	ECoePanicExtensionAlreadyExists=17,
	ECoePanicIllegalNullParameter1=18,
	ECoePanicIllegalNullParameter2=19,
	ECoePanicIllegalNullParameter3=20,
	ECoePanicIllegalNullParameter4=21,
	ECoePanicIllegalNullParameter5=22,
	ECoePanicIllegalNullParameter6=23,
	ECoePanicIllegalNullParameter7=24,
	ECoePanicIllegalNullParameter8=25,
	ECoePanicIllegalNullParameter9=26,
	ECoePanicIllegalNullParameter10=27,
	ECoePanicIllegalNullParameter11=28,
	ECoePanicIllegalNullParameter12=29,
	ECoePanicNegativeNumberOfNestedSetFocusCalls1=30,
	ECoePanicNegativeNumberOfNestedSetFocusCalls2=31,
	ECoePanicNegativeNumberOfNestedSetFocusCalls3=32,
	ECoePanicNegativeNumberOfNestedSetFocusCalls4=33,
	ECoePanicFocusObserverHasAlreadyBeenAdded=34,
	ECoePanicForegroundObserverHasAlreadyBeenAdded=35,
	ECoePanicFepObserverHasAlreadyBeenAdded=36,
	ECoePanicNoFepAwareItemIsFocusedFunction=37,
	ECoePanicInconsistentFepState=38,
	ECoePanicIllegalNullParameter13=39,
	ECoePanicIllegalNullParameter14=40,
	ECoePanicNullGc=41,
	ECoePanicResourceFileNotDeleted=42
	};

GLREF_C void Panic(TCoePanic aPanic);

#endif
