satengine/SatServer/Engine/inc/EnginePanic.h
changeset 46 2fa1fa551b0b
parent 42 35488577e233
child 48 78df25012fda
equal deleted inserted replaced
42:35488577e233 46:2fa1fa551b0b
     1 /*
       
     2 * Copyright (c) 2002-2005 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Declares panic function and panic codes for SatEngine
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef ENGINEPANIC_H
       
    21 #define ENGINEPANIC_H
       
    22 
       
    23 // DATA TYPES
       
    24 enum TPanicCode
       
    25     {
       
    26     ESatSBadRequest,
       
    27     ESatEngineNullPointer,
       
    28     ESatSBadDescriptor,
       
    29     ESatSStartServer,
       
    30     ESatUnexpectedHandleUiResponseCall,
       
    31     ESatUnexpectedRspPckgCall,
       
    32     ESatUnexpectedDataPckgCall,
       
    33     ESatUserQueryAlreadyActive,
       
    34     // Paniced in case where BIP Data channels are used in such cases where
       
    35     // the usage should be impossible
       
    36     ESatBIPAccessViolation
       
    37     };
       
    38 
       
    39 // FUNCTION PROTOTYPES
       
    40 void PanicSatEngine( TPanicCode aPanicCode );
       
    41 
       
    42 #endif      // ENGINEPANIC_H
       
    43 
       
    44 // End of File