Replace XFA_HDOC with IXFA_Doc*
[pdfium.git] / xfa / src / fxfa / src / app / xfa_ffapp.h
index b99f1fe..19eb347 100644 (file)
@@ -4,8 +4,9 @@
 \r
 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com\r
 \r
-#ifndef _FXFA_FORMFILLER_APP_IMP_H\r
-#define _FXFA_FORMFILLER_APP_IMP_H\r
+#ifndef XFA_FFAPP_H_\r
+#define XFA_FFAPP_H_\r
+\r
 class CXFA_FileRead : public IFX_FileRead\r
 {\r
 public:\r
@@ -50,8 +51,8 @@ public:
     ~CXFA_FFApp() override;\r
 \r
     virtual IXFA_DocHandler*   GetDocHandler();\r
-    virtual XFA_HDOC                   CreateDoc(IXFA_DocProvider* pProvider, IFX_FileRead* pStream, FX_BOOL bTakeOverFile);\r
-    virtual XFA_HDOC                   CreateDoc(IXFA_DocProvider* pProvider, CPDF_Document* pPDFDoc);\r
+    virtual IXFA_Doc*                  CreateDoc(IXFA_DocProvider* pProvider, IFX_FileRead* pStream, FX_BOOL bTakeOverFile);\r
+    virtual IXFA_Doc*                  CreateDoc(IXFA_DocProvider* pProvider, CPDF_Document* pPDFDoc);\r
     virtual    IXFA_AppProvider*       GetAppProvider()\r
     {\r
         return m_pProvider;\r
@@ -86,4 +87,5 @@ protected:
     CXFA_FFMenuHandler*                m_pMenuHandler;\r
     CFWL_SDAdapterThreadMgr* m_pAdapterThreadMgr;\r
 };\r
-#endif\r
+\r
+#endif  // XFA_FFAPP_H_\r