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_FPDFXFA_FPDFXFA_APP_H_ | 7 #ifndef FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_APP_H_ |
8 #define FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_APP_H_ | 8 #define FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_APP_H_ |
9 | 9 |
10 #include "xfa/include/fxfa/fxfa.h" | 10 #include "xfa/include/fxfa/fxfa.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 void GetVersion(CFX_WideString& wsVersion) override; | 43 void GetVersion(CFX_WideString& wsVersion) override; |
44 void GetFoxitVersion(CFX_WideString& wsFoxitVersion) override { | 44 void GetFoxitVersion(CFX_WideString& wsFoxitVersion) override { |
45 wsFoxitVersion = L"7.0"; | 45 wsFoxitVersion = L"7.0"; |
46 } | 46 } |
47 | 47 |
48 void GetAppName(CFX_WideString& wsName) override; | 48 void GetAppName(CFX_WideString& wsName) override; |
49 void GetFoxitAppName(CFX_WideString& wsFoxitName) override { | 49 void GetFoxitAppName(CFX_WideString& wsFoxitName) override { |
50 wsFoxitName = L"Foxit"; | 50 wsFoxitName = L"Foxit"; |
51 } | 51 } |
52 | 52 |
53 void Beep(FX_DWORD dwType) override; | 53 void Beep(uint32_t dwType) override; |
54 int32_t MsgBox(const CFX_WideStringC& wsMessage, | 54 int32_t MsgBox(const CFX_WideStringC& wsMessage, |
55 const CFX_WideStringC& wsTitle, | 55 const CFX_WideStringC& wsTitle, |
56 FX_DWORD dwIconType, | 56 uint32_t dwIconType, |
57 FX_DWORD dwButtonType) override; | 57 uint32_t dwButtonType) override; |
58 void Response(CFX_WideString& wsAnswer, | 58 void Response(CFX_WideString& wsAnswer, |
59 const CFX_WideStringC& wsQuestion, | 59 const CFX_WideStringC& wsQuestion, |
60 const CFX_WideStringC& wsTitle, | 60 const CFX_WideStringC& wsTitle, |
61 const CFX_WideStringC& wsDefaultAnswer, | 61 const CFX_WideStringC& wsDefaultAnswer, |
62 FX_BOOL bMark) override; | 62 FX_BOOL bMark) override; |
63 | 63 |
64 int32_t GetDocumentCountInBatch() override; | 64 int32_t GetDocumentCountInBatch() override; |
65 int32_t GetCurDocumentInBatch() override; | 65 int32_t GetCurDocumentInBatch() override; |
66 | 66 |
67 IFX_FileRead* DownloadURL(const CFX_WideStringC& wsURL) override; | 67 IFX_FileRead* DownloadURL(const CFX_WideStringC& wsURL) override; |
(...skipping 22 matching lines...) Expand all Loading... |
90 FX_BOOL m_bJavaScriptInitialized; | 90 FX_BOOL m_bJavaScriptInitialized; |
91 IXFA_App* m_pXFAApp; | 91 IXFA_App* m_pXFAApp; |
92 IXFA_FontMgr* m_pFontMgr; | 92 IXFA_FontMgr* m_pFontMgr; |
93 FXJSE_HRUNTIME m_hJSERuntime; | 93 FXJSE_HRUNTIME m_hJSERuntime; |
94 IFXJS_Runtime* m_pJSRuntime; | 94 IFXJS_Runtime* m_pJSRuntime; |
95 CFX_WideString m_csAppType; | 95 CFX_WideString m_csAppType; |
96 bool m_bOwnedRuntime; | 96 bool m_bOwnedRuntime; |
97 }; | 97 }; |
98 | 98 |
99 #endif // FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_APP_H_ | 99 #endif // FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_APP_H_ |
OLD | NEW |