| 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 _UTIL_H_ | 7 #ifndef FPDFSDK_INCLUDE_JAVASCRIPT_UTIL_H_ |
| 8 #define _UTIL_H_ | 8 #define FPDFSDK_INCLUDE_JAVASCRIPT_UTIL_H_ |
| 9 | 9 |
| 10 #include <string> // For std::wstring. | 10 #include <string> // For std::wstring. |
| 11 | 11 |
| 12 #include "JS_Define.h" | 12 #include "JS_Define.h" |
| 13 | 13 |
| 14 class util : public CJS_EmbedObj | 14 class util : public CJS_EmbedObj |
| 15 { | 15 { |
| 16 public: | 16 public: |
| 17 util(CJS_Object * pJSObject); | 17 util(CJS_Object * pJSObject); |
| 18 virtual ~util(void); | 18 virtual ~util(void); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 39 DECLARE_JS_CLASS(CJS_Util); | 39 DECLARE_JS_CLASS(CJS_Util); |
| 40 | 40 |
| 41 JS_STATIC_METHOD(printd, util); | 41 JS_STATIC_METHOD(printd, util); |
| 42 JS_STATIC_METHOD(printf, util); | 42 JS_STATIC_METHOD(printf, util); |
| 43 JS_STATIC_METHOD(printx, util); | 43 JS_STATIC_METHOD(printx, util); |
| 44 JS_STATIC_METHOD(scand, util); | 44 JS_STATIC_METHOD(scand, util); |
| 45 JS_STATIC_METHOD(byteToChar, util); | 45 JS_STATIC_METHOD(byteToChar, util); |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 FX_INT64 FX_atoi64(const char *nptr); | 48 FX_INT64 FX_atoi64(const char *nptr); |
| 49 #endif //_UTIL_H_ | 49 |
| 50 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_UTIL_H_ |
| OLD | NEW |