|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: MmMtpDataProvider |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef TMMMTPDPPANIC_H |
|
20 #define TMMMTPDPPANIC_H |
|
21 |
|
22 #include <e32std.h> |
|
23 |
|
24 /** |
|
25 * define the MM data provider panic code |
|
26 */ |
|
27 enum TMmMTPDpPanic |
|
28 { |
|
29 EMmMTPDpNoMatchingProcessor = 0, |
|
30 EMmMTPDpObjectNull = 1, |
|
31 EMmMTPDpFormatNotSupported = 2, |
|
32 EMmMTPDpSendObjectStateInvalid = 3, |
|
33 EMmMTPDpReferencesNull = 4, |
|
34 EMmMTPDpRequestCheckNull = 5, |
|
35 EMmMTPDpHandlesNull = 6, |
|
36 EMmMTPDpUnsupportedProperty = 7, |
|
37 EMmMTPDpObjectPropertyNull = 8, |
|
38 EMmMTPDpCannotRenameDir = 9, |
|
39 }; |
|
40 |
|
41 _LIT( KMmMTPDpPanic, "MM MTP Data Provider" ); |
|
42 |
|
43 inline void Panic( TMmMTPDpPanic aCode ) |
|
44 { |
|
45 User::Panic( KMmMTPDpPanic, aCode ); |
|
46 } |
|
47 |
|
48 #endif // TMMMTPDPPANIC_H |