|
1 // Copyright (c) 1998-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 #ifndef __IACPERR_H__ |
|
17 #define __IACPERR_H__ |
|
18 |
|
19 const TUid KUidSmartMessageMtm = {0x10001262}; |
|
20 |
|
21 enum TIacpAssertError |
|
22 { |
|
23 EIacpEmptyBuffer, |
|
24 EIacpInvalidEntry |
|
25 }; |
|
26 |
|
27 // public error codes that the parser may generate in addition to EPOC32 error codes. |
|
28 #define KIacpBaseError -510 |
|
29 #define KIacpUnknownSmsType KIacpBaseError // Left token not starting with neither 'M' nor 'I' |
|
30 #define KIacpBIOMsgTypeNotSupported KIacpBaseError-1 // this Bio msg is not suppported. |
|
31 #define KIacpMandatoryDataNotSet KIacpBaseError-2 // a mandatory Field/Value has not been found in SMS message |
|
32 #define KIacpUnknownMailProtocol KIacpBaseError-3 // Not a Pop3 nor Imap4 |
|
33 #define KIacpErrRightToken KIacpBaseError-4 // improper right token i.e not equal t/f (True/False) |
|
34 #define KIacpErrLeftToken KIacpBaseError-5 // Unknown Left Token i.e not starting with 'M' for Mail or 'I' for Internet configuration |
|
35 #define KIacpErrSmsDataNotParsed KIacpBaseError-6 // sms data should be parsed before commiting |
|
36 #define KIacpErrSmsDataNotRestored KIacpBaseError-7 // sms data should be parsed before commiting |
|
37 #define KIacpScriptErrISPNotFound KIacpBaseError-8 // Internet Service not found in Dial Out DB |
|
38 #define KIacpErrScriptNotDefined KIacpBaseError-9 // Sript not included in sms |
|
39 #define KIacpErrScriptNotFoundInDB KIacpBaseError-10 // There is no script in DB to append to. |
|
40 #define KIacpErrScriptAlreadyAdd KIacpBaseError-11 // Script cannot be add more than ounce for a each Bio Msg |
|
41 #endif //__IACPERR_H__ |