mtptransports/mtpptpiptransport/common/inc/ptpippanic.h
changeset 0 d0791faffa3f
equal deleted inserted replaced
-1:000000000000 0:d0791faffa3f
       
     1 // Copyright (c) 2007-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 PTPIPPANIC_H
       
    22 #define PTPIPPANIC_H
       
    23 
       
    24 #include <e32std.h>
       
    25 
       
    26 _LIT(KPTPIPPanic, "PTPIP");
       
    27 
       
    28 enum TPTPIPPanic
       
    29     {
       
    30     EPTPIPReserved					= 0,
       
    31     EPTPIPBadState    	 			= 1,
       
    32     EPTPIPNotSupported 				= 2,
       
    33     EPTPIPConnectionAlreadyExist	= 3
       
    34     };
       
    35 
       
    36 inline void Panic(TPTPIPPanic aCode)
       
    37     {
       
    38     User::Panic(KPTPIPPanic, aCode);
       
    39     };
       
    40 
       
    41 #endif // PTPIPPANIC_H