From d64372989fcb4e5af66f437ad7b8be343cb1aa67 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Tue, 22 Nov 2016 15:42:07 -0800 Subject: Rename IFWL_Timer and IFWL_TimerInfo These twho files are not interfaces. Renamed to be CFWL to signify they are concrete implementations. Review-Url: https://codereview.chromium.org/2526513002 --- fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.h | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.h') diff --git a/fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.h b/fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.h index 9f529fcbc8..3904ba5300 100644 --- a/fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.h +++ b/fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.h @@ -7,24 +7,23 @@ #ifndef FPDFSDK_FPDFXFA_CXFA_FWLADAPTERTIMERMGR_H_ #define FPDFSDK_FPDFXFA_CXFA_FWLADAPTERTIMERMGR_H_ +#include #include #include "fpdfsdk/fpdfxfa/cpdfxfa_context.h" +#include "xfa/fwl/core/cfwl_timerinfo.h" #include "xfa/fwl/core/ifwl_adaptertimermgr.h" -#include "xfa/fwl/core/ifwl_timerinfo.h" - -struct CFWL_TimerInfo; class CXFA_FWLAdapterTimerMgr : public IFWL_AdapterTimerMgr { public: explicit CXFA_FWLAdapterTimerMgr(CPDFSDK_FormFillEnvironment* pFormFillEnv) : m_pFormFillEnv(pFormFillEnv) {} - void Start(IFWL_Timer* pTimer, + void Start(CFWL_Timer* pTimer, uint32_t dwElapse, bool bImmediately, - IFWL_TimerInfo** pTimerInfo) override; - void Stop(IFWL_TimerInfo* pTimerInfo) override; + CFWL_TimerInfo** pTimerInfo) override; + void Stop(CFWL_TimerInfo* pTimerInfo) override; protected: static void TimerProc(int32_t idEvent); @@ -33,12 +32,4 @@ class CXFA_FWLAdapterTimerMgr : public IFWL_AdapterTimerMgr { CPDFSDK_FormFillEnvironment* const m_pFormFillEnv; }; -struct CFWL_TimerInfo : public IFWL_TimerInfo { - CFWL_TimerInfo(IFWL_AdapterTimerMgr* mgr, int32_t event, IFWL_Timer* timer) - : IFWL_TimerInfo(mgr), idEvent(event), pTimer(timer) {} - - int32_t idEvent; - IFWL_Timer* pTimer; -}; - #endif // FPDFSDK_FPDFXFA_CXFA_FWLADAPTERTIMERMGR_H_ -- cgit v1.2.3