OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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 XFA_FWL_CORE_IFWL_TIMERINFO_H_ | 7 #ifndef XFA_FWL_CORE_CFWL_TIMERINFO_H_ |
8 #define XFA_FWL_CORE_IFWL_TIMERINFO_H_ | 8 #define XFA_FWL_CORE_CFWL_TIMERINFO_H_ |
9 | 9 |
10 #include "core/fxcrt/fx_system.h" | 10 #include "core/fxcrt/fx_system.h" |
11 | 11 |
12 class IFWL_AdapterTimerMgr; | 12 class IFWL_AdapterTimerMgr; |
13 | 13 |
14 class IFWL_TimerInfo { | 14 class CFWL_TimerInfo { |
15 public: | 15 public: |
16 explicit IFWL_TimerInfo(IFWL_AdapterTimerMgr* mgr) : m_pMgr(mgr) { | 16 explicit CFWL_TimerInfo(IFWL_AdapterTimerMgr* mgr) : m_pMgr(mgr) { |
17 ASSERT(mgr); | 17 ASSERT(mgr); |
18 } | 18 } |
19 virtual ~IFWL_TimerInfo() {} | 19 virtual ~CFWL_TimerInfo() {} |
20 | 20 |
21 void StopTimer(); | 21 void StopTimer(); |
22 | 22 |
23 private: | 23 private: |
24 IFWL_AdapterTimerMgr* m_pMgr; // Not owned. | 24 IFWL_AdapterTimerMgr* m_pMgr; // Not owned. |
25 }; | 25 }; |
26 | 26 |
27 #endif // XFA_FWL_CORE_IFWL_TIMERINFO_H_ | 27 #endif // XFA_FWL_CORE_CFWL_TIMERINFO_H_ |
OLD | NEW |