equal
deleted
inserted
replaced
|
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 #ifndef __HELLOWORLDBASIC_PAN__ |
|
18 #define __HELLOWORLDBASIC_PAN__ |
|
19 |
|
20 |
|
21 #include <e32std.h> |
|
22 |
|
23 |
|
24 /** HelloWorldBasic application panic codes */ |
|
25 enum THelloWorldBasicPanics |
|
26 { |
|
27 EHelloWorldBasicUi = 1 |
|
28 // add further panics here |
|
29 }; |
|
30 |
|
31 enum TFileListPanics |
|
32 { |
|
33 EFileListIvalidIndex = 1 |
|
34 }; |
|
35 |
|
36 inline void Panic(TFileListPanics aReason) |
|
37 { |
|
38 _LIT(applicationName,"FileList"); |
|
39 User::Panic(applicationName, aReason); |
|
40 } |
|
41 |
|
42 inline void Panic(THelloWorldBasicPanics aReason) |
|
43 { |
|
44 _LIT(applicationName,"HelloWorldBasic"); |
|
45 User::Panic(applicationName, aReason); |
|
46 } |
|
47 |
|
48 #endif // __HELLOWORLDBASIC_PAN__ |