| 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_INCLUDE_FX_SYSTEMHANDLER_H_ | 7 #ifndef FPDFSDK_INCLUDE_FX_SYSTEMHANDLER_H_ |
| 8 #define FPDFSDK_INCLUDE_FX_SYSTEMHANDLER_H_ | 8 #define FPDFSDK_INCLUDE_FX_SYSTEMHANDLER_H_ |
| 9 | 9 |
| 10 #include "core/include/fpdfapi/fpdf_parser.h" |
| 11 #include "core/include/fxcrt/fx_coordinates.h" |
| 12 #include "core/include/fxcrt/fx_system.h" |
| 13 |
| 14 class CPDF_Document; |
| 15 class CPDF_Font; |
| 16 |
| 10 typedef void* FX_HWND; | 17 typedef void* FX_HWND; |
| 11 typedef void* FX_HMENU; | 18 typedef void* FX_HMENU; |
| 12 typedef void (*TimerCallback)(int32_t idEvent); | 19 typedef void (*TimerCallback)(int32_t idEvent); |
| 13 | 20 |
| 14 typedef struct _FX_SYSTEMTIME { | 21 typedef struct _FX_SYSTEMTIME { |
| 15 _FX_SYSTEMTIME() | 22 _FX_SYSTEMTIME() |
| 16 : wYear(0), | 23 : wYear(0), |
| 17 wMonth(0), | 24 wMonth(0), |
| 18 wDayOfWeek(0), | 25 wDayOfWeek(0), |
| 19 wDay(0), | 26 wDay(0), |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 virtual FX_BOOL IsALTKeyDown(FX_DWORD nFlag) = 0; | 98 virtual FX_BOOL IsALTKeyDown(FX_DWORD nFlag) = 0; |
| 92 virtual FX_BOOL IsINSERTKeyDown(FX_DWORD nFlag) = 0; | 99 virtual FX_BOOL IsINSERTKeyDown(FX_DWORD nFlag) = 0; |
| 93 | 100 |
| 94 virtual FX_SYSTEMTIME GetLocalTime() = 0; | 101 virtual FX_SYSTEMTIME GetLocalTime() = 0; |
| 95 | 102 |
| 96 virtual int32_t GetCharSet() = 0; | 103 virtual int32_t GetCharSet() = 0; |
| 97 virtual void SetCharSet(int32_t nCharSet) = 0; | 104 virtual void SetCharSet(int32_t nCharSet) = 0; |
| 98 }; | 105 }; |
| 99 | 106 |
| 100 #endif // FPDFSDK_INCLUDE_FX_SYSTEMHANDLER_H_ | 107 #endif // FPDFSDK_INCLUDE_FX_SYSTEMHANDLER_H_ |
| OLD | NEW |