ncdengine/debuglogger/obex/inc/sdpattributeparser.pan
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 2002 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:  BTPointToPoint application panic codes
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __SDP_ATTRIBUTE_PARSER_PAN__
       
    20 #define __SDP_ATTRIBUTE_PARSER_PAN__
       
    21 
       
    22 /** BTPointToPoint application panic codes */
       
    23 enum TSdpAttributeParserPanics 
       
    24     {
       
    25     ESdpAttributeParserInvalidCommand = 1,
       
    26     ESdpAttributeParserNoValue,
       
    27     ESdpAttributeParserValueIsList,
       
    28     ESdpAttributeParserValueTypeUnsupported
       
    29     };
       
    30 
       
    31 
       
    32 /** Panic Category */
       
    33 _LIT(KPanicSAP, "SAP");
       
    34 
       
    35 
       
    36 inline void Panic(TSdpAttributeParserPanics aReason)
       
    37     { 
       
    38     User::Panic(KPanicSAP, aReason);
       
    39     }
       
    40 
       
    41 
       
    42 #endif // __SDP_ATTRIBUTE_PARSER_PAN__