summaryrefslogtreecommitdiff
path: root/xfa/fde/xml/cfx_saxreader.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fde/xml/cfx_saxreader.h')
-rw-r--r--xfa/fde/xml/cfx_saxreader.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/xfa/fde/xml/cfx_saxreader.h b/xfa/fde/xml/cfx_saxreader.h
index b6bedfe65c..10ba69f1f5 100644
--- a/xfa/fde/xml/cfx_saxreader.h
+++ b/xfa/fde/xml/cfx_saxreader.h
@@ -38,10 +38,12 @@ class CFX_SAXItem {
class CFX_SAXFile {
public:
CFX_SAXFile();
- FX_BOOL StartFile(IFX_FileRead* pFile, uint32_t dwStart, uint32_t dwLen);
+ FX_BOOL StartFile(IFX_SeekableReadStream* pFile,
+ uint32_t dwStart,
+ uint32_t dwLen);
FX_BOOL ReadNextBlock();
void Reset();
- IFX_FileRead* m_pFile;
+ IFX_SeekableReadStream* m_pFile;
uint32_t m_dwStart;
uint32_t m_dwEnd;
uint32_t m_dwCur;
@@ -70,7 +72,7 @@ class CFX_SAXReader {
CFX_SAXReader();
~CFX_SAXReader();
- int32_t StartParse(IFX_FileRead* pFile,
+ int32_t StartParse(IFX_SeekableReadStream* pFile,
uint32_t dwStart = 0,
uint32_t dwLen = -1,
uint32_t dwParseMode = 0);