lafagnosticuifoundation/cone/src/coepanic.h
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 // Copyright (c) 1997-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 __COEPANIC_H__
       
    17 #define __COEPANIC_H__
       
    18 
       
    19 enum TCoePanic
       
    20 	{
       
    21 	ECoePanicStartupHeapTooSmall					=1, // no longer used
       
    22 	ECoePanicEnvironmentAlreadyExists				=2,
       
    23 	ECoePanicRootControlAlreadyExists				=3,
       
    24 	ECoePanicNoSuchControlInStack					=4,
       
    25 	ECoePanicLeaveWithoutTrap						=5,
       
    26 	ECoePanicLeaveWithoutTrapDuringRedraw			=6,
       
    27 	ECoePanicF32ResourceNotFreed					=7,
       
    28 	ECoePanicWservResourceNotFreed					=8,
       
    29 	ECoePanicWservBlindCommandFailed				=9,
       
    30 	ECoePanicWindowAlreadyCreated					=10,
       
    31 	ECoePanicNoWindow								=11,
       
    32 	ECoePanicControlIsNotContainer					=12,
       
    33 	ECoePanicUnknownResourceFile					=13,
       
    34 	ECoePanicNoResourceFileForId					=14,
       
    35 	ECoePanicResourceFileHasNullName				=15,
       
    36 	ECoePanicWrongResourceFormat					=16,
       
    37 	ECoePanicExtensionAlreadyExists					=17,
       
    38 	ECoePanicIllegalNullParameter3					=18,
       
    39 	ECoePanicIllegalNullParameter4					=19,
       
    40 	ECoePanicFocusObserverHasAlreadyBeenAdded		=21,
       
    41 	ECoePanicForegroundObserverHasAlreadyBeenAdded	=22,
       
    42 	ECoePanicFepObserverHasAlreadyBeenAdded			=23,
       
    43 	ECoePanicIllegalNullParameter13					=25,
       
    44 	ECoePanicIllegalNullParameter14					=26,
       
    45 	ECoePanicNullGc									=27,
       
    46 	ECoePanicResourceFileNotDeleted					=28,
       
    47 	ECoePanicNoViewServerConnection					=29,
       
    48 	ECoePanicViewNotFound							=30,
       
    49 	ECoePanicNullObjectUid							=31,
       
    50 	ECoePanicDuplicateObjectUid						=32,
       
    51 	ECoePanicNullEnvironment						=33,
       
    52 	ECoePanicSystemSoundNotReleased					=34,
       
    53 	ECoePanicNoWindowGroup							=35,
       
    54 	ECoePanicHandleNotClosed						=36,
       
    55 	ECoePanicViewEventNotHandled					=37,
       
    56 	ECoePanicViewObserverNotFound					=38, //no longer used
       
    57 	ECoePanicViewNotificationObserverAlreadyExists	=39,
       
    58 	ECoePanicInnerAppUiNotNull1						=40,
       
    59 	ECoePanicInnerAppUiNotNull2						=41,
       
    60 	ECoePanicInnerAppUiNotNull3						=42,
       
    61 	ECoePanicInnerAppUiNotNull4						=43,
       
    62 	ECoePanicControlNotRemovedFromStack				=44,
       
    63 	ECoePanicFocusObserverNotificationIsNotPending	=45,
       
    64 	ECoePanicInvalidHandle							=46,
       
    65 	ECoePanicViewInvalid							=47,
       
    66 	ECoePanicExportNotSupported						=48,
       
    67 	ECoePanicCyclicParentChildRelationship          =49,
       
    68 	ECoePanicIncorrectControlParent					=50,
       
    69 	ECoePanicDuplicateControlId						=51,
       
    70 	ECoePanicNonExistentArray						=52,
       
    71 	ECoePanicInvalidControlId						=53,
       
    72 	ECoePanicNoControlParent 						=54,
       
    73 	ECoePanicNoControlForId							=55,
       
    74 	ECoePanicNoBaseCallInOverriddenInterfaceMethod	=56,
       
    75 	ECoePanicUnexpectedError						=57,
       
    76 	ECoePanicLogicalColorNotFound					=58,
       
    77 	ECoePanicInvalidColorRange						=59,
       
    78 	ECoePanicInvalidScreenNumber					=60,
       
    79 	ECoePanicHasBackedUpWindow						=61,
       
    80 	ECoePanicControlNotWindowOwning					=62,
       
    81 	ECoePanicControlWindowIsBackedUp				=63,
       
    82 	ECoePanicNoSuchNumberedPointer					=64
       
    83 
       
    84 	};
       
    85 
       
    86 GLREF_C void Panic(TCoePanic aPanic);
       
    87 
       
    88 #endif	// __COEPANIC_H__