| OLD | NEW |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_JAVASCRIPT_JS_KEYVALUE_H_ | 7 #ifndef FPDFSDK_JAVASCRIPT_JS_KEYVALUE_H_ |
| 8 #define FPDFSDK_JAVASCRIPT_JS_KEYVALUE_H_ | 8 #define FPDFSDK_JAVASCRIPT_JS_KEYVALUE_H_ |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "core/fxcrt/include/fx_basic.h" | 13 #include "core/fxcrt/fx_basic.h" |
| 14 | 14 |
| 15 enum class JS_GlobalDataType { NUMBER = 0, BOOLEAN, STRING, OBJECT, NULLOBJ }; | 15 enum class JS_GlobalDataType { NUMBER = 0, BOOLEAN, STRING, OBJECT, NULLOBJ }; |
| 16 | 16 |
| 17 class CJS_KeyValue; | 17 class CJS_KeyValue; |
| 18 | 18 |
| 19 class CJS_GlobalVariableArray { | 19 class CJS_GlobalVariableArray { |
| 20 public: | 20 public: |
| 21 CJS_GlobalVariableArray(); | 21 CJS_GlobalVariableArray(); |
| 22 ~CJS_GlobalVariableArray(); | 22 ~CJS_GlobalVariableArray(); |
| 23 | 23 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 CFX_ByteString sKey; | 38 CFX_ByteString sKey; |
| 39 JS_GlobalDataType nType; | 39 JS_GlobalDataType nType; |
| 40 double dData; | 40 double dData; |
| 41 bool bData; | 41 bool bData; |
| 42 CFX_ByteString sData; | 42 CFX_ByteString sData; |
| 43 CJS_GlobalVariableArray objData; | 43 CJS_GlobalVariableArray objData; |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 #endif // FPDFSDK_JAVASCRIPT_JS_KEYVALUE_H_ | 46 #endif // FPDFSDK_JAVASCRIPT_JS_KEYVALUE_H_ |
| OLD | NEW |