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" |
11 | 11 |
| 12 class CPDFDoc_Environment; |
12 class IFXJS_Runtime; | 13 class IFXJS_Runtime; |
13 | 14 |
14 class CPDFXFA_App : public IXFA_AppProvider { | 15 class CPDFXFA_App : public IXFA_AppProvider { |
15 public: | 16 public: |
16 static CPDFXFA_App* GetInstance(); | 17 static CPDFXFA_App* GetInstance(); |
17 static void ReleaseInstance(); | 18 static void ReleaseInstance(); |
18 | 19 |
19 CPDFXFA_App(); | 20 CPDFXFA_App(); |
20 ~CPDFXFA_App() override; | 21 ~CPDFXFA_App() override; |
21 | 22 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 FX_BOOL m_bJavaScriptInitialized; | 90 FX_BOOL m_bJavaScriptInitialized; |
90 IXFA_App* m_pXFAApp; | 91 IXFA_App* m_pXFAApp; |
91 IXFA_FontMgr* m_pFontMgr; | 92 IXFA_FontMgr* m_pFontMgr; |
92 FXJSE_HRUNTIME m_hJSERuntime; | 93 FXJSE_HRUNTIME m_hJSERuntime; |
93 IFXJS_Runtime* m_pJSRuntime; | 94 IFXJS_Runtime* m_pJSRuntime; |
94 CFX_WideString m_csAppType; | 95 CFX_WideString m_csAppType; |
95 bool m_bOwnedRuntime; | 96 bool m_bOwnedRuntime; |
96 }; | 97 }; |
97 | 98 |
98 #endif // FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_APP_H_ | 99 #endif // FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_APP_H_ |
OLD | NEW |