| 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_FPDFXFA_INCLUDE_FPDFXFA_APP_H_ | 7 #ifndef FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_APP_H_ |
| 8 #define FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_APP_H_ | 8 #define FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_APP_H_ |
| 9 | 9 |
| 10 #include "xfa/fxfa/include/fxfa.h" | 10 #include "xfa/fxfa/include/fxfa.h" |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 const CFX_WideStringC& wsData, | 69 const CFX_WideStringC& wsData, |
| 70 const CFX_WideStringC& wsContentType, | 70 const CFX_WideStringC& wsContentType, |
| 71 const CFX_WideStringC& wsEncode, | 71 const CFX_WideStringC& wsEncode, |
| 72 const CFX_WideStringC& wsHeader, | 72 const CFX_WideStringC& wsHeader, |
| 73 CFX_WideString& wsResponse) override; | 73 CFX_WideString& wsResponse) override; |
| 74 FX_BOOL PutRequestURL(const CFX_WideStringC& wsURL, | 74 FX_BOOL PutRequestURL(const CFX_WideStringC& wsURL, |
| 75 const CFX_WideStringC& wsData, | 75 const CFX_WideStringC& wsData, |
| 76 const CFX_WideStringC& wsEncode) override; | 76 const CFX_WideStringC& wsEncode) override; |
| 77 | 77 |
| 78 void LoadString(int32_t iStringID, CFX_WideString& wsString) override; | 78 void LoadString(int32_t iStringID, CFX_WideString& wsString) override; |
| 79 FX_BOOL ShowFileDialog(const CFX_WideStringC& wsTitle, | |
| 80 const CFX_WideStringC& wsFilter, | |
| 81 CFX_WideStringArray& wsPathArr, | |
| 82 FX_BOOL bOpen) override; | |
| 83 IFWL_AdapterTimerMgr* GetTimerMgr() override; | 79 IFWL_AdapterTimerMgr* GetTimerMgr() override; |
| 84 | 80 |
| 85 CFX_ArrayTemplate<CPDFDoc_Environment*> m_pEnvList; | 81 CFX_ArrayTemplate<CPDFDoc_Environment*> m_pEnvList; |
| 86 | 82 |
| 87 protected: | 83 protected: |
| 88 static CPDFXFA_App* g_pApp; | 84 static CPDFXFA_App* g_pApp; |
| 89 | 85 |
| 90 FX_BOOL m_bJavaScriptInitialized; | 86 FX_BOOL m_bJavaScriptInitialized; |
| 91 CXFA_FFApp* m_pXFAApp; | 87 CXFA_FFApp* m_pXFAApp; |
| 92 FXJSE_HRUNTIME m_hJSERuntime; | 88 FXJSE_HRUNTIME m_hJSERuntime; |
| 93 IFXJS_Runtime* m_pJSRuntime; | 89 IFXJS_Runtime* m_pJSRuntime; |
| 94 CFX_WideString m_csAppType; | 90 CFX_WideString m_csAppType; |
| 95 bool m_bOwnedRuntime; | 91 bool m_bOwnedRuntime; |
| 96 }; | 92 }; |
| 97 | 93 |
| 98 #endif // FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_APP_H_ | 94 #endif // FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_APP_H_ |
| OLD | NEW |