| 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/fxcrt/include/fx_coordinates.h" | 10 #include "core/fxcrt/include/fx_coordinates.h" |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 virtual CFX_ByteString GetNativeTrueTypeFont(int32_t nCharset) = 0; | 85 virtual CFX_ByteString GetNativeTrueTypeFont(int32_t nCharset) = 0; |
| 86 virtual FX_BOOL FindNativeTrueTypeFont(int32_t nCharset, | 86 virtual FX_BOOL FindNativeTrueTypeFont(int32_t nCharset, |
| 87 CFX_ByteString sFontFaceName) = 0; | 87 CFX_ByteString sFontFaceName) = 0; |
| 88 virtual CPDF_Font* AddNativeTrueTypeFontToPDF(CPDF_Document* pDoc, | 88 virtual CPDF_Font* AddNativeTrueTypeFontToPDF(CPDF_Document* pDoc, |
| 89 CFX_ByteString sFontFaceName, | 89 CFX_ByteString sFontFaceName, |
| 90 uint8_t nCharset) = 0; | 90 uint8_t nCharset) = 0; |
| 91 | 91 |
| 92 virtual int32_t SetTimer(int32_t uElapse, TimerCallback lpTimerFunc) = 0; | 92 virtual int32_t SetTimer(int32_t uElapse, TimerCallback lpTimerFunc) = 0; |
| 93 virtual void KillTimer(int32_t nID) = 0; | 93 virtual void KillTimer(int32_t nID) = 0; |
| 94 | 94 |
| 95 virtual FX_BOOL IsSHIFTKeyDown(FX_DWORD nFlag) = 0; | 95 virtual FX_BOOL IsSHIFTKeyDown(uint32_t nFlag) = 0; |
| 96 virtual FX_BOOL IsCTRLKeyDown(FX_DWORD nFlag) = 0; | 96 virtual FX_BOOL IsCTRLKeyDown(uint32_t nFlag) = 0; |
| 97 virtual FX_BOOL IsALTKeyDown(FX_DWORD nFlag) = 0; | 97 virtual FX_BOOL IsALTKeyDown(uint32_t nFlag) = 0; |
| 98 virtual FX_BOOL IsINSERTKeyDown(FX_DWORD nFlag) = 0; | 98 virtual FX_BOOL IsINSERTKeyDown(uint32_t nFlag) = 0; |
| 99 | 99 |
| 100 virtual FX_SYSTEMTIME GetLocalTime() = 0; | 100 virtual FX_SYSTEMTIME GetLocalTime() = 0; |
| 101 | 101 |
| 102 virtual int32_t GetCharSet() = 0; | 102 virtual int32_t GetCharSet() = 0; |
| 103 virtual void SetCharSet(int32_t nCharSet) = 0; | 103 virtual void SetCharSet(int32_t nCharSet) = 0; |
| 104 }; | 104 }; |
| 105 | 105 |
| 106 #endif // FPDFSDK_INCLUDE_FX_SYSTEMHANDLER_H_ | 106 #endif // FPDFSDK_INCLUDE_FX_SYSTEMHANDLER_H_ |
| OLD | NEW |