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 FPDFSDK_INCLUDE_JAVASCRIPT_GLOBAL_H_ |
8 #define _GLOBAL_H_ | 8 #define FPDFSDK_INCLUDE_JAVASCRIPT_GLOBAL_H_ |
9 | 9 |
10 #include "JS_Define.h" | 10 #include "JS_Define.h" |
11 | 11 |
12 class CJS_GlobalData; | 12 class CJS_GlobalData; |
13 class CJS_GlobalVariableArray; | 13 class CJS_GlobalVariableArray; |
14 class CJS_KeyValue; | 14 class CJS_KeyValue; |
15 | 15 |
16 struct js_global_data | 16 struct js_global_data |
17 { | 17 { |
18 js_global_data() | 18 js_global_data() |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 virtual ~CJS_Global(void){}; | 79 virtual ~CJS_Global(void){}; |
80 | 80 |
81 virtual FX_BOOL InitInstance(IFXJS_Context* cc); | 81 virtual FX_BOOL InitInstance(IFXJS_Context* cc); |
82 | 82 |
83 DECLARE_SPECIAL_JS_CLASS(CJS_Global); | 83 DECLARE_SPECIAL_JS_CLASS(CJS_Global); |
84 | 84 |
85 JS_SPECIAL_STATIC_METHOD(setPersistent, global_alternate, global); | 85 JS_SPECIAL_STATIC_METHOD(setPersistent, global_alternate, global); |
86 | 86 |
87 }; | 87 }; |
88 | 88 |
89 #endif //_GLOBAL_H_ | 89 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_GLOBAL_H_ |
OLD | NEW |