windowing/windowserver/test/t_stress/inc/panic.h
changeset 0 5d03bc08d59c
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     1 // Copyright (c) 2008-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 /**
       
    17  @file
       
    18  @test
       
    19  @internalComponent
       
    20 */
       
    21 
       
    22 #ifndef __PANIC_H__
       
    23 #define __PANIC_H__
       
    24 
       
    25 #include <e32std.h>
       
    26 
       
    27 /** 
       
    28 */
       
    29 _LIT(KCategory, "t_stress");
       
    30 
       
    31 /** 
       
    32 */
       
    33 enum TPanic
       
    34 	{
       
    35 	EPanic0,
       
    36 	EPanic1,
       
    37 	EPanic2,
       
    38 	EPanic3,
       
    39 	EPanic4,
       
    40 	EPanic5,
       
    41 	EPanic6,
       
    42 	EPanic7,
       
    43 	EPanic8,
       
    44 	EPanic9,
       
    45 	EPanic10,
       
    46 	EPanic11,
       
    47 	EPanic12,
       
    48 	EPanic13,
       
    49 	EPanic14,
       
    50 	EPanic15,
       
    51 	EPanic16,
       
    52 	EPanic17,
       
    53 	EPanic18,
       
    54 	EPanic19,
       
    55 	};
       
    56 
       
    57 /** 
       
    58 */
       
    59 static void Panic( TPanic aReason )
       
    60 	{
       
    61 	User::Panic(KCategory, aReason );
       
    62 	}
       
    63 
       
    64 #endif //__PANIC_H__