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 | |
18 #include "expat.h" | 17 #include "expat.h" |
19 #else | |
20 #include "third_party/expat/v2_0_1/Source/lib/expat.h" | |
21 #endif // EXPAT_RELATIVE_PATH | |
22 | 18 |
23 struct XML_ParserStruct; | 19 struct XML_ParserStruct; |
24 typedef struct XML_ParserStruct* XML_Parser; | 20 typedef struct XML_ParserStruct* XML_Parser; |
25 | 21 |
26 namespace buzz { | 22 namespace buzz { |
27 | 23 |
28 class XmlParseHandler; | 24 class XmlParseHandler; |
29 class XmlParseContext; | 25 class XmlParseContext; |
30 class XmlParser; | 26 class XmlParser; |
31 | 27 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 | 90 |
95 ParseContext context_; | 91 ParseContext context_; |
96 XML_Parser expat_; | 92 XML_Parser expat_; |
97 XmlParseHandler * pxph_; | 93 XmlParseHandler * pxph_; |
98 bool sentError_; | 94 bool sentError_; |
99 }; | 95 }; |
100 | 96 |
101 } // namespace buzz | 97 } // namespace buzz |
102 | 98 |
103 #endif // WEBRTC_LIBJINGLE_XMLLITE_XMLPARSER_H_ | 99 #endif // WEBRTC_LIBJINGLE_XMLLITE_XMLPARSER_H_ |
OLD | NEW |