| 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_SRC_JAVASCRIPT_JS_VALUE_H_ | 7 #ifndef FPDFSDK_SRC_JAVASCRIPT_JS_VALUE_H_ |
| 8 #define FPDFSDK_SRC_JAVASCRIPT_JS_VALUE_H_ | 8 #define FPDFSDK_SRC_JAVASCRIPT_JS_VALUE_H_ |
| 9 | 9 |
| 10 #include "../../include/jsapi/fxjs_v8.h" | |
| 11 #include "core/include/fxcrt/fx_basic.h" | 10 #include "core/include/fxcrt/fx_basic.h" |
| 11 #include "fpdfsdk/include/jsapi/fxjs_v8.h" |
| 12 | 12 |
| 13 class CJS_Array; | 13 class CJS_Array; |
| 14 class CJS_Date; | 14 class CJS_Date; |
| 15 class CJS_Document; | 15 class CJS_Document; |
| 16 class CJS_Object; | 16 class CJS_Object; |
| 17 class CJS_Runtime; | 17 class CJS_Runtime; |
| 18 | 18 |
| 19 class CJS_Value { | 19 class CJS_Value { |
| 20 public: | 20 public: |
| 21 enum Type { | 21 enum Type { |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 int JS_GetMinFromTime(double dt); | 202 int JS_GetMinFromTime(double dt); |
| 203 int JS_GetSecFromTime(double dt); | 203 int JS_GetSecFromTime(double dt); |
| 204 double JS_DateParse(const wchar_t* string); | 204 double JS_DateParse(const wchar_t* string); |
| 205 double JS_MakeDay(int nYear, int nMonth, int nDay); | 205 double JS_MakeDay(int nYear, int nMonth, int nDay); |
| 206 double JS_MakeTime(int nHour, int nMin, int nSec, int nMs); | 206 double JS_MakeTime(int nHour, int nMin, int nSec, int nMs); |
| 207 double JS_MakeDate(double day, double time); | 207 double JS_MakeDate(double day, double time); |
| 208 bool JS_PortIsNan(double d); | 208 bool JS_PortIsNan(double d); |
| 209 double JS_LocalTime(double d); | 209 double JS_LocalTime(double d); |
| 210 | 210 |
| 211 #endif // FPDFSDK_SRC_JAVASCRIPT_JS_VALUE_H_ | 211 #endif // FPDFSDK_SRC_JAVASCRIPT_JS_VALUE_H_ |
| OLD | NEW |