summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-22 15:42:07 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-22 15:42:07 -0800
commitd64372989fcb4e5af66f437ad7b8be343cb1aa67 (patch)
treed95ffcf46b3990723ce08a8207d3f6af3c3c1b98 /fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.h
parent5048731cf0b1221a81e76d7f6e95f24159bb87e2 (diff)
downloadpdfium-d64372989fcb4e5af66f437ad7b8be343cb1aa67.tar.xz
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
Diffstat (limited to 'fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.h')
-rw-r--r--fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.h19
1 files changed, 5 insertions, 14 deletions
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 <memory>
#include <vector>
#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_