summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/xfa_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/xfa_parser.h')
-rw-r--r--xfa/fxfa/parser/xfa_parser.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/xfa/fxfa/parser/xfa_parser.h b/xfa/fxfa/parser/xfa_parser.h
index 86a0d9d94f..5ccc1af199 100644
--- a/xfa/fxfa/parser/xfa_parser.h
+++ b/xfa/fxfa/parser/xfa_parser.h
@@ -13,7 +13,7 @@ class CFDE_XMLDoc;
class IXFA_Parser {
public:
- static IXFA_Parser* Create(IXFA_ObjFactory* pFactory,
+ static IXFA_Parser* Create(CXFA_Document* pFactory,
FX_BOOL bDocumentParser = FALSE);
virtual ~IXFA_Parser() {}
virtual void Release() = 0;
@@ -25,16 +25,10 @@ class IXFA_Parser {
IFX_Pause* pPause = NULL) = 0;
virtual void ConstructXFANode(CXFA_Node* pXFANode,
CFDE_XMLNode* pXMLNode) = 0;
- virtual IXFA_ObjFactory* GetFactory() const = 0;
+ virtual CXFA_Document* GetFactory() const = 0;
virtual CXFA_Node* GetRootNode() const = 0;
virtual CFDE_XMLDoc* GetXMLDoc() const = 0;
virtual void CloseParser() = 0;
};
-class IXFA_DocParser : public IXFA_Parser {
- public:
- static IXFA_DocParser* Create(IXFA_Notify* pNotify);
- virtual CXFA_Document* GetDocument() const = 0;
- virtual IXFA_Notify* GetNotify() const = 0;
-};
#endif // XFA_FXFA_PARSER_XFA_PARSER_H_