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 FPDFSDK_CFX_SYSTEMHANDLER_H_ | 7 #ifndef FPDFSDK_CFX_SYSTEMHANDLER_H_ |
8 #define FPDFSDK_CFX_SYSTEMHANDLER_H_ | 8 #define FPDFSDK_CFX_SYSTEMHANDLER_H_ |
9 | 9 |
10 #include "core/fxcrt/include/fx_coordinates.h" | 10 #include "core/fxcrt/fx_coordinates.h" |
11 #include "core/fxcrt/include/fx_system.h" | 11 #include "core/fxcrt/fx_system.h" |
12 | 12 |
13 using TimerCallback = void (*)(int32_t idEvent); | 13 using TimerCallback = void (*)(int32_t idEvent); |
14 | 14 |
15 struct FX_SYSTEMTIME { | 15 struct FX_SYSTEMTIME { |
16 FX_SYSTEMTIME() | 16 FX_SYSTEMTIME() |
17 : wYear(0), | 17 : wYear(0), |
18 wMonth(0), | 18 wMonth(0), |
19 wDayOfWeek(0), | 19 wDayOfWeek(0), |
20 wDay(0), | 20 wDay(0), |
21 wHour(0), | 21 wHour(0), |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 | 68 |
69 bool IsSHIFTKeyDown(uint32_t nFlag) const; | 69 bool IsSHIFTKeyDown(uint32_t nFlag) const; |
70 bool IsCTRLKeyDown(uint32_t nFlag) const; | 70 bool IsCTRLKeyDown(uint32_t nFlag) const; |
71 bool IsALTKeyDown(uint32_t nFlag) const; | 71 bool IsALTKeyDown(uint32_t nFlag) const; |
72 | 72 |
73 private: | 73 private: |
74 CPDFSDK_Environment* const m_pEnv; | 74 CPDFSDK_Environment* const m_pEnv; |
75 }; | 75 }; |
76 | 76 |
77 #endif // FPDFSDK_CFX_SYSTEMHANDLER_H_ | 77 #endif // FPDFSDK_CFX_SYSTEMHANDLER_H_ |
OLD | NEW |