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 _IJAVASCRIPT_H_ | 7 #ifndef FPDFSDK_INCLUDE_JAVASCRIPT_IJAVASCRIPT_H_ |
8 #define _IJAVASCRIPT_H_ | 8 #define FPDFSDK_INCLUDE_JAVASCRIPT_IJAVASCRIPT_H_ |
9 | 9 |
10 #include "../../../core/include/fxcrt/fx_basic.h" | 10 #include "../../../core/include/fxcrt/fx_basic.h" |
11 #include "../../../xfa/include/fxjse/fxjse.h" | 11 #include "../../../xfa/include/fxjse/fxjse.h" |
12 | 12 |
13 class CPDF_Bookmark; | 13 class CPDF_Bookmark; |
14 class CPDF_FormField; | 14 class CPDF_FormField; |
15 class CPDFSDK_Annot; | 15 class CPDFSDK_Annot; |
16 class CPDFSDK_Document; | 16 class CPDFSDK_Document; |
17 | 17 |
18 class IFXJS_Context | 18 class IFXJS_Context |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 | 107 |
108 CJS_GlobalData* NewGlobalData(CPDFDoc_En
vironment* pApp); | 108 CJS_GlobalData* NewGlobalData(CPDFDoc_En
vironment* pApp); |
109 void ReleaseGlobalDat
a(); | 109 void ReleaseGlobalDat
a(); |
110 private: | 110 private: |
111 FX_BOOL m_bInit; | 111 FX_BOOL m_bInit; |
112 int m_nRef; | 112 int m_nRef; |
113 CJS_GlobalData* m_pGlobalData; | 113 CJS_GlobalData* m_pGlobalData; |
114 FX_INT32 m_nGlobalDataCou
nt; | 114 FX_INT32 m_nGlobalDataCou
nt; |
115 }; | 115 }; |
116 | 116 |
117 #endif //_IJAVASCRIPT_H_ | 117 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_IJAVASCRIPT_H_ |
118 | |
OLD | NEW |