datasourceadaptation/gpsdatasourceadaptation/common/inc/psypanic.h
changeset 36 b47902b73a93
parent 0 9cfd9a3ee49c
equal deleted inserted replaced
35:a2efdd544abf 36:b47902b73a93
       
     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  @InternalComponent
       
    19 */
       
    20 
       
    21 #ifndef PSYPANIC_H
       
    22 #define PSYPANIC_H
       
    23 
       
    24 #include <e32base.h>
       
    25 
       
    26 #ifdef _DEBUG
       
    27 
       
    28 //Panic reason
       
    29 enum TPanicReason
       
    30     {
       
    31     EPanicInvalidCase,				// Invalid case in switch clause.
       
    32     EPanicProcessDefination,		// Invalid process defination during connection.
       
    33     EPanicUnknownPositioningClass,  // Unkown positioning class.
       
    34     EPanicSingletonNotConstructed,  // Singleton not constructed.
       
    35     EPanicIndexOutOfRange,			// Index out of range.
       
    36     EPanicQNotEmpty,				// CPositionerQ destroyed when not empty
       
    37     EPanicUnknownUpdateError,		// Error is not in the known range
       
    38     EPanicIStatusNotSet,			// iStatus used when it is not set
       
    39     EPanicPositionCopyFailed,		// Copy of poition info returned an error
       
    40     EPanicUnknownTimerEventId,		// An unknown timer event occurred
       
    41     EPanicModeMergeFailed,			// A merge of the positioning modes for existing requests failed
       
    42     EPanicNewRequestInactive		// An attempt was made to merge an inactive request
       
    43     };
       
    44     
       
    45 //AdaptationPSY panic category
       
    46 _LIT(KAdaptationPanicCategory, "AdaptationPSY");
       
    47     
       
    48 #endif //_DEBUG
       
    49 
       
    50 #endif
       
    51 // End of File
       
    52