equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002-2005 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2002-2005 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
8 * |
8 * |
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
24 |
24 |
25 #ifndef SEN_XMLREADER_H |
25 #ifndef SEN_XMLREADER_H |
26 #define SEN_XMLREADER_H |
26 #define SEN_XMLREADER_H |
27 |
27 |
28 // INCLUDES |
28 // INCLUDES |
29 #include <Xml/Parser.h> |
29 #include <xml/parser.h> |
30 #include <Xml/ParserFeature.h> // for TParserFeature enumeration |
30 #include <xml/parserfeature.h> // for TParserFeature enumeration |
31 #include <Xml/ContentHandler.h> |
31 #include <xml/contenthandler.h> |
32 #include <badesca.h> |
32 #include <badesca.h> |
33 |
33 |
34 using namespace Xml; |
34 using namespace Xml; |
35 |
35 |
36 // CONSTANTS |
36 // CONSTANTS |
37 const TInt KSenDefaultParserFeature = (TInt)EReportNamespaceMapping; |
37 const TInt KSenDefaultParserFeature = (TInt)EReportNamespaceMapping; |
38 |
38 |
39 |
39 |
|
40 #ifdef RD_SEN_FORCE_LIBXML_SAX_PLUGIN_MIMETYPE |
|
41 _LIT8(KXmlParserMimeType, "text/wsstarlibxml2"); |
|
42 _LIT8(KXmlVariant, "wsstarlibxml2"); |
|
43 #else |
|
44 _LIT8(KXmlParserMimeType, "text/xml"); |
|
45 _LIT8(KXmlVariant, "libxml2"); // LibXml2 SAX parser |
|
46 #endif |
40 |
47 |
41 // FORWARD DECLARATIONS |
48 // FORWARD DECLARATIONS |
42 class MSenContentHandlerClient; |
49 class MSenContentHandlerClient; |
43 class RFs; |
50 class RFs; |
44 |
51 |