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 _FWL_TIMER_H | 7 #ifndef _FWL_TIMER_H |
8 #define _FWL_TIMER_H | 8 #define _FWL_TIMER_H |
9 class IFWL_Timer; | 9 class IFWL_Timer; |
10 typedef struct _FWL_HTIMER { | 10 typedef struct _FWL_HTIMER { |
11 FX_LPVOID pData; | 11 FX_LPVOID pData; |
12 } *FWL_HTIMER; | 12 } *FWL_HTIMER; |
13 class IFWL_Timer | 13 class IFWL_Timer |
14 { | 14 { |
15 public: | 15 public: |
16 virtual FX_INT32 Run(FWL_HTIMER hTimer) = 0; | 16 virtual int32_t Run(FWL_HTIMER hTimer) = 0; |
17 }; | 17 }; |
18 FWL_HTIMER FWL_StartTimer(IFWL_Timer *pTimer, FX_DWORD dwElapse, FX_BOOL bImmedi
ately = TRUE); | 18 FWL_HTIMER FWL_StartTimer(IFWL_Timer *pTimer, FX_DWORD dwElapse, FX_BOOL bImmedi
ately = TRUE); |
19 FX_INT32 FWL_StopTimer(FWL_HTIMER hTimer); | 19 int32_t FWL_StopTimer(FWL_HTIMER hTimer); |
20 #endif | 20 #endif |
OLD | NEW |