| 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_JAVASCRIPT_IJAVASCRIPT_H_ | 7 #ifndef FPDFSDK_INCLUDE_JAVASCRIPT_IJAVASCRIPT_H_ |
| 8 #define FPDFSDK_INCLUDE_JAVASCRIPT_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" |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 void DeleteJSRuntime(
IFXJS_Runtime* pRuntime); | 99 void DeleteJSRuntime(
IFXJS_Runtime* pRuntime); |
| 100 void AddRef(); | 100 void AddRef(); |
| 101 void Release(); | 101 void Release(); |
| 102 | 102 |
| 103 CJS_GlobalData* NewGlobalData(CPDFDoc_En
vironment* pApp); | 103 CJS_GlobalData* NewGlobalData(CPDFDoc_En
vironment* pApp); |
| 104 void ReleaseGlobalDat
a(); | 104 void ReleaseGlobalDat
a(); |
| 105 private: | 105 private: |
| 106 FX_BOOL m_bInit; | 106 FX_BOOL m_bInit; |
| 107 int m_nRef; | 107 int m_nRef; |
| 108 CJS_GlobalData* m_pGlobalData; | 108 CJS_GlobalData* m_pGlobalData; |
| 109 » FX_INT32» » » » » » m_nGlobalDataCou
nt; | 109 » int32_t»» » » » » m_nGlobalDataCount; |
| 110 }; | 110 }; |
| 111 | 111 |
| 112 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_IJAVASCRIPT_H_ | 112 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_IJAVASCRIPT_H_ |
| OLD | NEW |