1 /* |
|
2 * Copyright (c) 2005 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: ConML parser/generator |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __SCONCONMLHANDLERERROR_H__ |
|
20 #define __SCONCONMLHANDLERERROR_H__ |
|
21 |
|
22 // ----------------------------------------------------------------------------- |
|
23 // Parser error base |
|
24 // ----------------------------------------------------------------------------- |
|
25 |
|
26 #define PERRBASE 0x2000 |
|
27 |
|
28 enum TConMLParserError |
|
29 { |
|
30 KWBXMLParserErrorOk = 0, |
|
31 KWBXMLParserErrorEof = PERRBASE, |
|
32 KWBXMLParserErrorEofTooEarly, |
|
33 KWBXMLParserErrorInvalidTag, |
|
34 KWBXMLParserErrorWrongWBXMLVersion, |
|
35 KWBXMLParserErrorWrongPublicId, |
|
36 KWBXMLParserErrorinvalidDocument |
|
37 }; |
|
38 |
|
39 #define GERRBASE 0x3000 |
|
40 |
|
41 enum TWBXMLGeneratorError |
|
42 { |
|
43 KWBXMLGeneratorOk = 0, |
|
44 KWBXMLGeneratorBufferFull = GERRBASE |
|
45 }; |
|
46 |
|
47 #endif // __SCONCONMLHANDLERERROR_H__ |
|