mtpfws/mtpfw/dataproviders/proxydp/inc/mtpproxydppanic.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 // mmtpproxydppanic.h
       
    15 // proxy data provider panic code  
       
    16 // 
       
    17 //
       
    18 
       
    19 /**
       
    20  @file
       
    21  @internalTechnology
       
    22 */
       
    23 
       
    24 #ifndef __MTPPROXYDPPANIC_H__
       
    25 #define __MTPPROXYDPPANIC_H__
       
    26 
       
    27 #include <e32std.h>
       
    28 
       
    29 enum TMTPProxyDpPanic
       
    30 	{
       
    31 	EMTPNoMatchingProcessor = 0,
       
    32 	EMTPNotSameRequestProxy = 1,
       
    33 	EMTPWrongRequestPhase = 2,
       
    34 	EMTPElementIndexOutOfBound = 3,
       
    35 	EMTPInvalidDataType = 4,
       
    36 	EMTPRoutingError = 5,
       
    37 	};
       
    38 
       
    39 _LIT(KMTProxyDpPanic, "MTP Proxy Data Provider");
       
    40 inline void Panic(TMTPProxyDpPanic aCode)
       
    41 	{
       
    42 	User::Panic(KMTProxyDpPanic, aCode);
       
    43 	};
       
    44 	
       
    45 
       
    46 #endif // __MTPPROXYDPPANIC_H__
       
    47