|
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 @internalTechnology |
|
19 */ |
|
20 |
|
21 #ifndef MTPIMAGEDPPANIC_H |
|
22 #define MTPIMAGEDPPANIC_H |
|
23 |
|
24 #include <e32std.h> |
|
25 |
|
26 /** |
|
27 define the file data provider panic code |
|
28 @internalTechnology |
|
29 |
|
30 */ |
|
31 enum TMTPImageDpPanic |
|
32 { |
|
33 EMTPImageDpNoMatchingProcessor = 0, |
|
34 EMTPImageDpObjectNull = 1, |
|
35 EMTPImageDpFormatNotSupported = 2, |
|
36 EMTPImageDpSendObjectStateInvalid = 3, |
|
37 EMTPImageDpRequestCheckNull = 4, |
|
38 EMTPImageDpHandlesNull = 5, |
|
39 EMTPImageDpUnsupportedProperty = 6, |
|
40 EMTPImageDpObjectPropertyNull = 7, |
|
41 EMTPImageDpCannotRenameDir = 8, |
|
42 EMTPImageDpIPropertyNotSupported = 9, |
|
43 EMTPImageDpBadLayout = 10, |
|
44 EMTPImageDpTypeMismatch = 11, |
|
45 }; |
|
46 |
|
47 _LIT(KMTPImageDpPanic, "MTP Image Data Provider"); |
|
48 |
|
49 inline void Panic(TMTPImageDpPanic aCode) |
|
50 { |
|
51 User::Panic(KMTPImageDpPanic, aCode); |
|
52 }; |
|
53 |
|
54 |
|
55 #endif // MTPIMAGEDPPANIC_H |
|
56 |