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_FPDFXFA_APP_H_ |
8 #define FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_APP_H_ | 8 #define FPDFSDK_FPDFXFA_FPDFXFA_APP_H_ |
9 | 9 |
10 #include "xfa/fxfa/include/fxfa.h" | 10 #include "xfa/fxfa/include/fxfa.h" |
11 | 11 |
12 class CPDFSDK_Environment; | 12 class CPDFSDK_Environment; |
13 class IFXJS_Runtime; | 13 class IFXJS_Runtime; |
14 | 14 |
15 class CPDFXFA_App : public IXFA_AppProvider { | 15 class CPDFXFA_App : public IXFA_AppProvider { |
16 public: | 16 public: |
17 static CPDFXFA_App* GetInstance(); | 17 static CPDFXFA_App* GetInstance(); |
18 static void ReleaseInstance(); | 18 static void ReleaseInstance(); |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 | 69 |
70 CFX_ArrayTemplate<CPDFSDK_Environment*> m_pEnvList; | 70 CFX_ArrayTemplate<CPDFSDK_Environment*> m_pEnvList; |
71 | 71 |
72 protected: | 72 protected: |
73 FX_BOOL m_bJavaScriptInitialized; | 73 FX_BOOL m_bJavaScriptInitialized; |
74 std::unique_ptr<CXFA_FFApp> m_pXFAApp; | 74 std::unique_ptr<CXFA_FFApp> m_pXFAApp; |
75 v8::Isolate* m_pIsolate; | 75 v8::Isolate* m_pIsolate; |
76 CFX_WideString m_csAppType; | 76 CFX_WideString m_csAppType; |
77 }; | 77 }; |
78 | 78 |
79 #endif // FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_APP_H_ | 79 #endif // FPDFSDK_FPDFXFA_FPDFXFA_APP_H_ |
OLD | NEW |