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_JAVASCRIPT_RESOURCE_H_ | 7 #ifndef FPDFSDK_JAVASCRIPT_RESOURCE_H_ |
8 #define FPDFSDK_JAVASCRIPT_RESOURCE_H_ | 8 #define FPDFSDK_JAVASCRIPT_RESOURCE_H_ |
9 | 9 |
10 #include "core/fxcrt/include/fx_string.h" | 10 #include "core/fxcrt/fx_string.h" |
11 | 11 |
12 class CJS_Context; | 12 class CJS_Context; |
13 | 13 |
14 #define IDS_STRING_JSALERT 25613 | 14 #define IDS_STRING_JSALERT 25613 |
15 #define IDS_STRING_JSPARAMERROR 25614 | 15 #define IDS_STRING_JSPARAMERROR 25614 |
16 #define IDS_STRING_JSAFNUMBER_KEYSTROKE 25615 | 16 #define IDS_STRING_JSAFNUMBER_KEYSTROKE 25615 |
17 #define IDS_STRING_JSPARAM_TOOLONG 25617 | 17 #define IDS_STRING_JSPARAM_TOOLONG 25617 |
18 #define IDS_STRING_JSPARSEDATE 25618 | 18 #define IDS_STRING_JSPARSEDATE 25618 |
19 #define IDS_STRING_JSRANGE1 25619 | 19 #define IDS_STRING_JSRANGE1 25619 |
20 #define IDS_STRING_JSRANGE2 25620 | 20 #define IDS_STRING_JSRANGE2 25620 |
(...skipping 10 matching lines...) Expand all Loading... |
31 #define IDS_STRING_JSVALUEERROR 25638 | 31 #define IDS_STRING_JSVALUEERROR 25638 |
32 #define IDS_STRING_JSNOPERMISSION 25639 | 32 #define IDS_STRING_JSNOPERMISSION 25639 |
33 #define IDS_STRING_JSBADOBJECT 25640 | 33 #define IDS_STRING_JSBADOBJECT 25640 |
34 | 34 |
35 CFX_WideString JSGetStringFromID(uint32_t id); | 35 CFX_WideString JSGetStringFromID(uint32_t id); |
36 CFX_WideString JSFormatErrorString(const char* class_name, | 36 CFX_WideString JSFormatErrorString(const char* class_name, |
37 const char* property_name, | 37 const char* property_name, |
38 const CFX_WideString& details); | 38 const CFX_WideString& details); |
39 | 39 |
40 #endif // FPDFSDK_JAVASCRIPT_RESOURCE_H_ | 40 #endif // FPDFSDK_JAVASCRIPT_RESOURCE_H_ |
OLD | NEW |