summaryrefslogtreecommitdiff
path: root/fpdfsdk/include/fpdfxfa
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/include/fpdfxfa')
-rw-r--r--fpdfsdk/include/fpdfxfa/fpdfxfa_util.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/fpdfsdk/include/fpdfxfa/fpdfxfa_util.h b/fpdfsdk/include/fpdfxfa/fpdfxfa_util.h
index af69812471..545d910206 100644
--- a/fpdfsdk/include/fpdfxfa/fpdfxfa_util.h
+++ b/fpdfsdk/include/fpdfxfa/fpdfxfa_util.h
@@ -17,7 +17,7 @@
#define JS_STR_VIEWERVARIATION L"Full"
#define JS_STR_VIEWERVERSION_XFA L"11"
-class CFWL_TimerInfo;
+struct CFWL_TimerInfo;
class CXFA_FWLAdapterTimerMgr : public IFWL_AdapterTimerMgr {
public:
@@ -35,13 +35,12 @@ class CXFA_FWLAdapterTimerMgr : public IFWL_AdapterTimerMgr {
CPDFDoc_Environment* const m_pEnv;
};
-class CFWL_TimerInfo {
- public:
+struct CFWL_TimerInfo {
CFWL_TimerInfo() : pTimer(nullptr) {}
- CFWL_TimerInfo(uint32_t event, IFWL_Timer* timer)
- : uIDEvent(event), pTimer(timer) {}
+ CFWL_TimerInfo(int32_t event, IFWL_Timer* timer)
+ : idEvent(event), pTimer(timer) {}
- uint32_t uIDEvent;
+ int32_t idEvent;
IFWL_Timer* pTimer;
};