OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef FPDFSDK_FPDFXFA_CXFA_FWLADAPTERTIMERMGR_H_ | 7 #ifndef FPDFSDK_FPDFXFA_CXFA_FWLADAPTERTIMERMGR_H_ |
8 #define FPDFSDK_FPDFXFA_CXFA_FWLADAPTERTIMERMGR_H_ | 8 #define FPDFSDK_FPDFXFA_CXFA_FWLADAPTERTIMERMGR_H_ |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "fpdfsdk/fpdfxfa/cpdfxfa_document.h" | 12 #include "fpdfsdk/fpdfxfa/cpdfxfa_context.h" |
13 #include "xfa/fwl/core/ifwl_adaptertimermgr.h" | 13 #include "xfa/fwl/core/ifwl_adaptertimermgr.h" |
14 | 14 |
15 struct CFWL_TimerInfo; | 15 struct CFWL_TimerInfo; |
16 | 16 |
17 class CXFA_FWLAdapterTimerMgr : public IFWL_AdapterTimerMgr { | 17 class CXFA_FWLAdapterTimerMgr : public IFWL_AdapterTimerMgr { |
18 public: | 18 public: |
19 CXFA_FWLAdapterTimerMgr(CPDFSDK_FormFillEnvironment* pFormFillEnv) | 19 CXFA_FWLAdapterTimerMgr(CPDFSDK_FormFillEnvironment* pFormFillEnv) |
20 : m_pFormFillEnv(pFormFillEnv) {} | 20 : m_pFormFillEnv(pFormFillEnv) {} |
21 | 21 |
22 FWL_Error Start(IFWL_Timer* pTimer, | 22 FWL_Error Start(IFWL_Timer* pTimer, |
(...skipping 11 matching lines...) Expand all Loading... |
34 | 34 |
35 struct CFWL_TimerInfo : public IFWL_TimerInfo { | 35 struct CFWL_TimerInfo : public IFWL_TimerInfo { |
36 CFWL_TimerInfo(IFWL_AdapterTimerMgr* mgr, int32_t event, IFWL_Timer* timer) | 36 CFWL_TimerInfo(IFWL_AdapterTimerMgr* mgr, int32_t event, IFWL_Timer* timer) |
37 : IFWL_TimerInfo(mgr), idEvent(event), pTimer(timer) {} | 37 : IFWL_TimerInfo(mgr), idEvent(event), pTimer(timer) {} |
38 | 38 |
39 int32_t idEvent; | 39 int32_t idEvent; |
40 IFWL_Timer* pTimer; | 40 IFWL_Timer* pTimer; |
41 }; | 41 }; |
42 | 42 |
43 #endif // FPDFSDK_FPDFXFA_CXFA_FWLADAPTERTIMERMGR_H_ | 43 #endif // FPDFSDK_FPDFXFA_CXFA_FWLADAPTERTIMERMGR_H_ |
OLD | NEW |