| 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 _GLOBAL_H_ | 7 #ifndef _GLOBAL_H_ |
| 8 #define _GLOBAL_H_ | 8 #define _GLOBAL_H_ |
| 9 | 9 |
| 10 #include "JS_Define.h" |
| 11 |
| 10 class CJS_GlobalData; | 12 class CJS_GlobalData; |
| 13 class CJS_GlobalVariableArray; |
| 14 class CJS_KeyValue; |
| 11 | 15 |
| 12 struct js_global_data | 16 struct js_global_data |
| 13 { | 17 { |
| 14 js_global_data() | 18 js_global_data() |
| 15 { | 19 { |
| 16 nType = 0; | 20 nType = 0; |
| 17 dData = 0; | 21 dData = 0; |
| 18 bData = FALSE; | 22 bData = FALSE; |
| 19 sData = ""; | 23 sData = ""; |
| 20 bPersistent = FALSE; | 24 bPersistent = FALSE; |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 | 80 |
| 77 virtual FX_BOOL InitInstance(IFXJS_Context* cc); | 81 virtual FX_BOOL InitInstance(IFXJS_Context* cc); |
| 78 | 82 |
| 79 DECLARE_SPECIAL_JS_CLASS(CJS_Global); | 83 DECLARE_SPECIAL_JS_CLASS(CJS_Global); |
| 80 | 84 |
| 81 JS_SPECIAL_STATIC_METHOD(setPersistent, global_alternate, global); | 85 JS_SPECIAL_STATIC_METHOD(setPersistent, global_alternate, global); |
| 82 | 86 |
| 83 }; | 87 }; |
| 84 | 88 |
| 85 #endif //_GLOBAL_H_ | 89 #endif //_GLOBAL_H_ |
| OLD | NEW |