| 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 FPDFXFA_APP_H_ | 7 #ifndef FPDFXFA_APP_H_ |
| 8 #define FPDFXFA_APP_H_ | 8 #define FPDFXFA_APP_H_ |
| 9 | 9 |
| 10 #include "../../../xfa/include/fxfa/fxfa.h" |
| 11 |
| 10 class IFXJS_Runtime; | 12 class IFXJS_Runtime; |
| 11 | 13 |
| 12 class CPDFXFA_App : public IXFA_AppProvider { | 14 class CPDFXFA_App : public IXFA_AppProvider { |
| 13 public: | 15 public: |
| 14 static CPDFXFA_App* GetInstance(); | 16 static CPDFXFA_App* GetInstance(); |
| 15 static void ReleaseInstance(); | 17 static void ReleaseInstance(); |
| 16 | 18 |
| 17 CPDFXFA_App(); | 19 CPDFXFA_App(); |
| 18 ~CPDFXFA_App() override; | 20 ~CPDFXFA_App() override; |
| 19 | 21 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 | 88 |
| 87 FX_BOOL m_bJavaScriptInitialized; | 89 FX_BOOL m_bJavaScriptInitialized; |
| 88 IXFA_App* m_pXFAApp; | 90 IXFA_App* m_pXFAApp; |
| 89 IXFA_FontMgr* m_pFontMgr; | 91 IXFA_FontMgr* m_pFontMgr; |
| 90 FXJSE_HRUNTIME m_hJSERuntime; | 92 FXJSE_HRUNTIME m_hJSERuntime; |
| 91 IFXJS_Runtime* m_pJSRuntime; | 93 IFXJS_Runtime* m_pJSRuntime; |
| 92 CFX_WideString m_csAppType; | 94 CFX_WideString m_csAppType; |
| 93 }; | 95 }; |
| 94 | 96 |
| 95 #endif // FPDFXFA_APP_H_ | 97 #endif // FPDFXFA_APP_H_ |
| OLD | NEW |