mtpdataproviders/mtppictbridgedp/inc/mtppictbridgedppanic.h
changeset 0 d0791faffa3f
equal deleted inserted replaced
-1:000000000000 0:d0791faffa3f
       
     1 // Copyright (c) 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 
       
    22 #ifndef MTPPICTBRIDGEDPPANIC_H
       
    23 #define MTPPICTBRIDGEDPPANIC_H
       
    24 
       
    25 #include <e32std.h>
       
    26 
       
    27 /**
       
    28 define the file data provider panic code
       
    29 @internalTechnology
       
    30 
       
    31 */
       
    32 enum TMTPPictBridgeDpPanic
       
    33     {
       
    34     EMTPPictBridgeDpNoMatchingProcessor = 0,
       
    35     EMTPPictBridgeDpObjectNull = 1,
       
    36     EMTPPictBridgeDpFormatNotSupported = 2,
       
    37     EMTPPictBridgeDpSendObjectStateInvalid = 3,
       
    38     EMTPPictBridgeDpRequestCheckNull = 4,
       
    39     EMTPPictBridgeDpHandlesNull = 5,
       
    40     EMTPPictBridgeDpUnsupportedProperty = 6,
       
    41     EMTPPictBridgeDpObjectPropertyNull = 7,
       
    42     EMTPPictBridgeDpCannotRenameDir = 8,
       
    43     };
       
    44 
       
    45 _LIT(KMTPPictBridgeDpPanic, "MTP PictBridge Data Provider");
       
    46 
       
    47 inline void Panic(TMTPPictBridgeDpPanic aCode)
       
    48     {
       
    49     User::Panic(KMTPPictBridgeDpPanic, aCode);
       
    50     };
       
    51 #endif // MTPPICTBRIDGEPANIC_H
       
    52