| 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 _FX_SYSTEMHANDLER_H_ | 7 #ifndef _FX_SYSTEMHANDLER_H_ |
| 8 #define _FX_SYSTEMHANDLER_H_ | 8 #define _FX_SYSTEMHANDLER_H_ |
| 9 | 9 |
| 10 typedef FX_LPVOID FX_HWND; | 10 typedef FX_LPVOID FX_HWND; |
| 11 typedef FX_LPVOID FX_HMENU; | 11 typedef FX_LPVOID FX_HMENU; |
| 12 typedef void (*TimerCallback)(FX_INT32 idEven
t); | 12 typedef void (*TimerCallback)(FX_INT32 idEven
t); |
| 13 | 13 |
| 14 typedef struct _FX_SYSTEMTIME | 14 typedef struct _FX_SYSTEMTIME |
| 15 { | 15 { |
| 16 _FX_SYSTEMTIME() |
| 17 : wYear(0), |
| 18 wMonth(0), |
| 19 wDayOfWeek(0), |
| 20 wDay(0), |
| 21 wHour(0), |
| 22 wMinute(0), |
| 23 wSecond(0), |
| 24 wMilliseconds(0) {} |
| 16 FX_WORD wYear; | 25 FX_WORD wYear; |
| 17 FX_WORD wMonth; | 26 FX_WORD wMonth; |
| 18 FX_WORD wDayOfWeek; | 27 FX_WORD wDayOfWeek; |
| 19 FX_WORD wDay; | 28 FX_WORD wDay; |
| 20 FX_WORD wHour; | 29 FX_WORD wHour; |
| 21 FX_WORD wMinute; | 30 FX_WORD wMinute; |
| 22 FX_WORD wSecond; | 31 FX_WORD wSecond; |
| 23 FX_WORD wMilliseconds; | 32 FX_WORD wMilliseconds; |
| 24 }FX_SYSTEMTIME; | 33 }FX_SYSTEMTIME; |
| 25 | 34 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 virtual FX_BOOL IsINSERTKeyDown(FX_DWORD nFlag)
= 0; | 85 virtual FX_BOOL IsINSERTKeyDown(FX_DWORD nFlag)
= 0; |
| 77 | 86 |
| 78 virtual FX_SYSTEMTIME GetLocalTime() = 0; | 87 virtual FX_SYSTEMTIME GetLocalTime() = 0; |
| 79 | 88 |
| 80 virtual FX_INT32 GetCharSet() = 0; | 89 virtual FX_INT32 GetCharSet() = 0; |
| 81 virtual void SetCharSet(FX_INT32 nCharSet) =
0; | 90 virtual void SetCharSet(FX_INT32 nCharSet) =
0; |
| 82 }; | 91 }; |
| 83 | 92 |
| 84 #endif //_FX_SYSTEMHANDLER_H_ | 93 #endif //_FX_SYSTEMHANDLER_H_ |
| 85 | 94 |
| OLD | NEW |