hti/HtiCommPlugins/HtiBtCommPlugin/BtEngine/inc/sdpattributeparser.pan
changeset 36 813b186005b6
parent 30 86a2e675b80a
child 41 838cdffd57ce
equal deleted inserted replaced
30:86a2e675b80a 36:813b186005b6
     1 /*
       
     2 * Copyright (c) 2009 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:  Bluetooth SDP attribute parser panic codes.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __SDP_ATTRIBUTE_PARSER_PAN__
       
    20 #define __SDP_ATTRIBUTE_PARSER_PAN__
       
    21 
       
    22 /** Panic Category */
       
    23 _LIT( KPanicSAP, "SAP" );
       
    24 
       
    25 /** BTPointToPoint application panic codes */
       
    26 enum TSdpAttributeParserPanics
       
    27     {
       
    28     ESdpAttributeParserInvalidCommand = 1,
       
    29     ESdpAttributeParserNoValue,
       
    30     ESdpAttributeParserValueIsList,
       
    31     ESdpAttributeParserValueTypeUnsupported
       
    32     };
       
    33 
       
    34 inline void Panic( TSdpAttributeParserPanics aReason )
       
    35     {
       
    36     User::Panic( KPanicSAP, aReason );
       
    37     }
       
    38 
       
    39 
       
    40 #endif // __SDP_ATTRIBUTE_PARSER_PAN__
       
    41 
       
    42 // End of File