equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008-2008 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: Panic codes of Analog Dialer |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef ANALOGDIALER_APPLICATION_PAN |
|
21 #define ANALOGDIALER_APPLICATION_PAN |
|
22 |
|
23 /** AlfExAnalogDialer application panic codes */ |
|
24 enum TAlfExAnalogDialerPanics |
|
25 { |
|
26 EAlfExAnalogDialerBasicUi = 1 |
|
27 // add further panics here |
|
28 }; |
|
29 |
|
30 /** |
|
31 * Panics the current thread with the "AlfExAnalogDialer" panic category |
|
32 * and the panic number specified by TAlfExAnalogDialerPanics |
|
33 * |
|
34 * @since S60 5.0 |
|
35 * @param aReason The panic number. |
|
36 */ |
|
37 |
|
38 inline void Panic(TAlfExAnalogDialerPanics aReason) |
|
39 { |
|
40 _LIT(applicationName,"AlfExAnalogDialer"); |
|
41 User::Panic(applicationName, aReason); |
|
42 } |
|
43 |
|
44 #endif // ANALOGDIALER_APPLICATION_PAN |