OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef XFA_SRC_FGAS_XML_FGAS_SAX_IMP_H_ | 7 #ifndef XFA_FGAS_XML_FGAS_SAX_IMP_H_ |
8 #define XFA_SRC_FGAS_XML_FGAS_SAX_IMP_H_ | 8 #define XFA_FGAS_XML_FGAS_SAX_IMP_H_ |
9 | 9 |
10 #include "xfa/src/fgas/xml/fgas_sax.h" | 10 #include "xfa/fgas/xml/fgas_sax.h" |
11 | 11 |
12 class CFX_SAXFile { | 12 class CFX_SAXFile { |
13 public: | 13 public: |
14 CFX_SAXFile(); | 14 CFX_SAXFile(); |
15 FX_BOOL StartFile(IFX_FileRead* pFile, FX_DWORD dwStart, FX_DWORD dwLen); | 15 FX_BOOL StartFile(IFX_FileRead* pFile, FX_DWORD dwStart, FX_DWORD dwLen); |
16 FX_BOOL ReadNextBlock(); | 16 FX_BOOL ReadNextBlock(); |
17 void Reset(); | 17 void Reset(); |
18 IFX_FileRead* m_pFile; | 18 IFX_FileRead* m_pFile; |
19 FX_DWORD m_dwStart; | 19 FX_DWORD m_dwStart; |
20 FX_DWORD m_dwEnd; | 20 FX_DWORD m_dwEnd; |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 void NotifyAttribute(); | 131 void NotifyAttribute(); |
132 void NotifyBreak(); | 132 void NotifyBreak(); |
133 void NotifyClose(); | 133 void NotifyClose(); |
134 void NotifyEnd(); | 134 void NotifyEnd(); |
135 void NotifyTargetData(); | 135 void NotifyTargetData(); |
136 void ReallocDataBuffer(); | 136 void ReallocDataBuffer(); |
137 void ReallocNameBuffer(); | 137 void ReallocNameBuffer(); |
138 void ParseChar(uint8_t ch); | 138 void ParseChar(uint8_t ch); |
139 }; | 139 }; |
140 | 140 |
141 #endif // XFA_SRC_FGAS_XML_FGAS_SAX_IMP_H_ | 141 #endif // XFA_FGAS_XML_FGAS_SAX_IMP_H_ |
OLD | NEW |