ncdengine/debuglogger/obex/inc/btobjectexchange.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:  BTObjectExchange application panic codes
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __BTOBJECTEXCHANGE_PAN__
       
    20 #define __BTOBJECTEXCHANGE_PAN__
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 /** BTObjectExchange application panic codes */
       
    25 enum TBTObjectExchangePanics 
       
    26     {
       
    27     EBTObjectExchangeBasicUi = 1,
       
    28     EBTObjectExchangeReceiverInvalidState,
       
    29     EBTObjectExchangeSenderExists,
       
    30     EBTObjectExchangeReceiverExists,
       
    31     EBTObjectExchangeSenderInvalidState,
       
    32     EBTObjectExchangeNoSender,
       
    33     EBTObjectExchangeAddMessage,
       
    34     EBTObjectExchangeNextRecordRequestComplete,
       
    35     EBTObjectExchangeAttributeRequestResult,
       
    36     EBTObjectExchangeAttributeRequestComplete,
       
    37     EBTObjectExchangeInvalidControlIndex,
       
    38     EBTObjectExchangeProtocolRead,
       
    39     EBTObjectExchangeAttributeRequest,
       
    40     EBTObjectExchangeSdpRecordDelete,
       
    41     EBTObjectExchangeUnexpectedState,
       
    42     EBTObjectExchangeUnexpectedLogicState
       
    43     };
       
    44 
       
    45 
       
    46 /** Panic Category */
       
    47 _LIT(KPanicBTOBEX, "BTOBEX");
       
    48 
       
    49 
       
    50 inline void Panic(TBTObjectExchangePanics aReason)
       
    51     { 
       
    52     User::Panic(KPanicBTOBEX, aReason);
       
    53     }
       
    54 
       
    55 #endif // __BTOBJECTEXCHANGE_PAN__