diff options
Diffstat (limited to 'fpdfsdk/include/fpdfxfa')
-rw-r--r-- | fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h | 1 | ||||
-rw-r--r-- | fpdfsdk/include/fpdfxfa/fpdfxfa_util.h | 10 |
2 files changed, 7 insertions, 4 deletions
diff --git a/fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h b/fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h index 0564ed0c4c..451b561ba0 100644 --- a/fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h +++ b/fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h @@ -8,6 +8,7 @@ #define FPDFXFA_DOC_H_
#include "../../../xfa/include/fxfa/fxfa.h"
+#include "public/fpdfview.h"
class CPDFXFA_App;
class CPDFXFA_Document;
diff --git a/fpdfsdk/include/fpdfxfa/fpdfxfa_util.h b/fpdfsdk/include/fpdfxfa/fpdfxfa_util.h index a6f327a201..a64d030de5 100644 --- a/fpdfsdk/include/fpdfxfa/fpdfxfa_util.h +++ b/fpdfsdk/include/fpdfxfa/fpdfxfa_util.h @@ -4,8 +4,10 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef _FPDFXFA_UTIL_H_
-#define _FPDFXFA_UTIL_H_
+#ifndef FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_UTIL_H_
+#define FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_UTIL_H_
+
+#include "xfa/include/fwl/adapter/fwl_adaptertimermgr.h"
#define JS_STR_VIEWERTYPE_STANDARD L"Exchange"
#define JS_STR_LANGUANGE L"ENU"
@@ -30,9 +32,9 @@ class CXFA_FWLAdapterTimerMgr : public IFWL_AdapterTimerMgr { class CFWL_TimerInfo {
public:
- CFWL_TimerInfo() : pTimer(NULL) {}
+ CFWL_TimerInfo() : pTimer(nullptr) {}
uint32_t uIDEvent;
IFWL_Timer* pTimer;
};
-#endif
+#endif // FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_UTIL_H_
|