|
1 /** |
|
2 * Copyright (c) 2003-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: |
|
15 * Netdial external errors and error strings |
|
16 * |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 |
|
22 /** |
|
23 @file ND_ERR.H |
|
24 @internalComponent |
|
25 */ |
|
26 |
|
27 #ifndef __ND_ERR_H__ |
|
28 #define __ND_ERR_H__ |
|
29 |
|
30 #include <e32def.h> |
|
31 |
|
32 const TInt KNetdialErrorBase=-3000; |
|
33 |
|
34 // netdial script errors |
|
35 // |
|
36 const TInt KErrExitNoModem=KNetdialErrorBase-1; ///< Exit Condition - No Modem Response |
|
37 const TInt KErrExitModemError=KNetdialErrorBase-2; ///< Exit Condition - Modem error |
|
38 const TInt KErrExitLoginFail=KNetdialErrorBase-3; ///< Exit Condition - Login Failure |
|
39 const TInt KErrExitScriptTimeOut=KNetdialErrorBase-4; ///< Exit Condition - Script Timed Out |
|
40 const TInt KErrExitScriptError=KNetdialErrorBase-5; ///< Exit Condition - Script Error |
|
41 |
|
42 // netdial database error |
|
43 // |
|
44 const TInt KErrNetDialDatabaseDefaultUndefined=KNetdialErrorBase-6; |
|
45 const TInt KErrNetDialDatabaseTypeUnknown=KNetdialErrorBase-7; |
|
46 const TInt KErrNetDialDatabaseNotFound=KNetdialErrorBase-8; |
|
47 const TInt KErrNetDialHscsdNotSupported=KNetdialErrorBase-9; |
|
48 |
|
49 // error strings for script |
|
50 // |
|
51 #define KErrExitScriptTimeOutString _S("KErrTimeOut$") |
|
52 #define KErrExitLoginFailString _S("KErrLoginFail$") |
|
53 #define KErrExitNoModemString _S("KErrNoModem$") |
|
54 #define KErrExitModemErrorString _S("KErrModemError$") |
|
55 #define KErrExitNoAnswerString _S("KErrNoAnswer$") |
|
56 #define KErrExitNoCarrierString _S("KErrNoCarrier$") |
|
57 #define KErrExitNoDialToneString _S("KErrNoDialTone$") |
|
58 #define KErrExitBusyString _S("KErrBusy$") |
|
59 #define KErrExitModemInitErrorString _S("KErrModemInitError$") |
|
60 |
|
61 #endif |