|
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 // mmtpfiledppanic.h |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalTechnology |
|
21 */ |
|
22 |
|
23 #ifndef __MTPFILEDPPANIC_H__ |
|
24 #define __MTPFILEDPPANIC_H__ |
|
25 |
|
26 #include <e32std.h> |
|
27 |
|
28 /** |
|
29 define the file data provider panic code |
|
30 @internalTechnology |
|
31 |
|
32 */ |
|
33 enum TMTPFileDpPanic |
|
34 { |
|
35 EMTPFileDpNoMatchingProcessor = 0, |
|
36 EMTPFileDpObjectNull = 1, |
|
37 EMTPFileDpFormatNotSupported = 2, |
|
38 EMTPFileDpSendObjectStateInvalid = 3, |
|
39 EMTPFileDpRequestCheckNull = 4, |
|
40 EMTPFileDpHandlesNull = 5, |
|
41 EMTPFileDpUnsupportedProperty = 6, |
|
42 EMTPFileDpObjectPropertyNull = 7, |
|
43 EMTPFileDpCannotRenameDir = 8, |
|
44 }; |
|
45 |
|
46 _LIT(KMTPFileDpPanic, "MTP File Data Provider"); |
|
47 inline void Panic(TMTPFileDpPanic aCode) |
|
48 { |
|
49 User::Panic(KMTPFileDpPanic, aCode); |
|
50 }; |
|
51 |
|
52 |
|
53 #endif // __MTPDEVDPPANIC_H__ |
|
54 |