mtpfws/mtpfw/datatypes/inc/mtpdatatypespanic.h
changeset 0 d0791faffa3f
equal deleted inserted replaced
-1:000000000000 0:d0791faffa3f
       
     1 // Copyright (c) 2006-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 MTPDATATYPESPANIC_H
       
    22 #define MTPDATATYPESPANIC_H
       
    23 
       
    24 #include <e32std.h>
       
    25 
       
    26 enum TMTPDataTypesPanic
       
    27 	{
       
    28 	EMTPTypeReserved        = 0,
       
    29 	
       
    30 	EMTPTypeBadStorage      = 1,
       
    31 	EMTPTypeBoundsError     = 2,
       
    32 	EMTPTypeIdMismatch      = 3,
       
    33 	EMTPTypeSizeMismatch    = 4,
       
    34 	EMTPTypeIdUnknown       = 5,
       
    35 	EMTPTypeNotSupported    = 6,
       
    36 	EMTPTypeInUse           = 7,
       
    37 	};
       
    38 
       
    39 _LIT(KMTPDataTypesPanic, "MTPDataTypes");
       
    40 inline void Panic(TMTPDataTypesPanic aCode)
       
    41 	{
       
    42 	User::Panic(KMTPDataTypesPanic, aCode);
       
    43 	};
       
    44 	
       
    45 
       
    46 #endif // MTPDATATYPESPANIC_H
       
    47