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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
71 FX_BOOL PutRequestURL(const CFX_WideString& wsURL, | 71 FX_BOOL PutRequestURL(const CFX_WideString& wsURL, |
72 const CFX_WideString& wsData, | 72 const CFX_WideString& wsData, |
73 const CFX_WideString& wsEncode) override; | 73 const CFX_WideString& wsEncode) override; |
74 | 74 |
75 void LoadString(int32_t iStringID, CFX_WideString& wsString) override; | 75 void LoadString(int32_t iStringID, CFX_WideString& wsString) override; |
76 IFWL_AdapterTimerMgr* GetTimerMgr() override; | 76 IFWL_AdapterTimerMgr* GetTimerMgr() override; |
77 | 77 |
78 CFX_ArrayTemplate<CPDFDoc_Environment*> m_pEnvList; | 78 CFX_ArrayTemplate<CPDFDoc_Environment*> m_pEnvList; |
79 | 79 |
80 protected: | 80 protected: |
81 static CPDFXFA_App* g_pApp; | 81 static CPDFXFA_App* m_pApp; |
Lei Zhang
2016/07/16 01:23:03
Only used in fpdfsdk/fpdfxfa/fpdfxfa_app.cpp, and
Wei Li
2016/07/18 19:07:07
Not much difference, let's keep the implementation
| |
82 | 82 |
83 FX_BOOL m_bJavaScriptInitialized; | 83 FX_BOOL m_bJavaScriptInitialized; |
84 CXFA_FFApp* m_pXFAApp; | 84 CXFA_FFApp* m_pXFAApp; |
85 v8::Isolate* m_pIsolate; | 85 v8::Isolate* m_pIsolate; |
86 IFXJS_Runtime* m_pJSRuntime; | 86 IFXJS_Runtime* m_pJSRuntime; |
87 CFX_WideString m_csAppType; | 87 CFX_WideString m_csAppType; |
88 }; | 88 }; |
89 | 89 |
90 #endif // FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_APP_H_ | 90 #endif // FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_APP_H_ |
OLD | NEW |