|
1 /* |
|
2 * Copyright (c) 2002 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 function for Phone Settings |
|
15 * |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 //Different panic causes. |
|
21 enum TPSetPanic { |
|
22 ECBPanicNoBscSet, |
|
23 ECBBasicServiceNotReturned, |
|
24 ECBUnknownRequest, |
|
25 ECBUnknownBarringSetting, |
|
26 ECBNoObserver, |
|
27 |
|
28 ECDNewDefaultNumberNull, |
|
29 ECDPanicNoBscSet, |
|
30 ECDRequestPanicNoObserver, |
|
31 ECDRequestPanicIncorrectRequest, |
|
32 |
|
33 ECWPanicNoObserver, |
|
34 ECWPanicNoPhone, |
|
35 ECWBasicServiceNotReturned, |
|
36 ECWPanicInvalidRequestMode, |
|
37 ECWPanicNoBscSet, |
|
38 |
|
39 ECliParameter, |
|
40 ECliGeneral, |
|
41 ECliNoObserver, |
|
42 ECliOperationFailed, |
|
43 |
|
44 ENetSelectPanicNullPointer, |
|
45 ENetNoObserver, |
|
46 ENetUnknownRequest, |
|
47 ENetError, |
|
48 ENetMemberVariableAlreadyCreated, |
|
49 ENetNoNetworkObserver |
|
50 }; |
|
51 |
|
52 // Local Function Prototypes |
|
53 static void Panic( const TDesC& aClassName, TPSetPanic aPanic ); |
|
54 |
|
55 // LOCAL FUNCTIONS |
|
56 static void Panic( const TDesC& aClassName, TPSetPanic aPanic ) |
|
57 { |
|
58 User::Panic( aClassName, aPanic ); |
|
59 } |
|
60 // End of file |