OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef WEBRTC_LIBJINGLE_XMLLITE_XMLPARSER_H_ | 11 #ifndef WEBRTC_LIBJINGLE_XMLLITE_XMLPARSER_H_ |
12 #define WEBRTC_LIBJINGLE_XMLLITE_XMLPARSER_H_ | 12 #define WEBRTC_LIBJINGLE_XMLLITE_XMLPARSER_H_ |
13 | 13 |
14 #include <string> | 14 #include <string> |
15 | 15 |
16 #include "webrtc/libjingle/xmllite/xmlnsstack.h" | 16 #include "webrtc/libjingle/xmllite/xmlnsstack.h" |
| 17 #ifdef EXPAT_RELATIVE_PATH |
17 #include "expat.h" | 18 #include "expat.h" |
| 19 #else |
| 20 #include "third_party/expat/v2_0_1/Source/lib/expat.h" |
| 21 #endif // EXPAT_RELATIVE_PATH |
18 | 22 |
19 struct XML_ParserStruct; | 23 struct XML_ParserStruct; |
20 typedef struct XML_ParserStruct* XML_Parser; | 24 typedef struct XML_ParserStruct* XML_Parser; |
21 | 25 |
22 namespace buzz { | 26 namespace buzz { |
23 | 27 |
24 class XmlParseHandler; | 28 class XmlParseHandler; |
25 class XmlParseContext; | 29 class XmlParseContext; |
26 class XmlParser; | 30 class XmlParser; |
27 | 31 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 | 94 |
91 ParseContext context_; | 95 ParseContext context_; |
92 XML_Parser expat_; | 96 XML_Parser expat_; |
93 XmlParseHandler * pxph_; | 97 XmlParseHandler * pxph_; |
94 bool sentError_; | 98 bool sentError_; |
95 }; | 99 }; |
96 | 100 |
97 } // namespace buzz | 101 } // namespace buzz |
98 | 102 |
99 #endif // WEBRTC_LIBJINGLE_XMLLITE_XMLPARSER_H_ | 103 #endif // WEBRTC_LIBJINGLE_XMLLITE_XMLPARSER_H_ |
OLD | NEW |