John Abd-El-Malek | 3f3b45c | 2014-05-23 17:28:10 -0700 | [diff] [blame] | 1 | // Copyright 2014 PDFium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
Tom Sepez | 2b0ed94 | 2015-02-27 13:58:29 -0800 | [diff] [blame] | 4 | |
John Abd-El-Malek | 3f3b45c | 2014-05-23 17:28:10 -0700 | [diff] [blame] | 5 | // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | |
Tom Sepez | 2b0ed94 | 2015-02-27 13:58:29 -0800 | [diff] [blame] | 7 | #ifndef FPDFSDK_INCLUDE_JAVASCRIPT_RESOURCE_H_ |
| 8 | #define FPDFSDK_INCLUDE_JAVASCRIPT_RESOURCE_H_ |
| 9 | |
| 10 | #include "../../../core/include/fxcrt/fx_basic.h" // For CFX_WideString. |
| 11 | #include "../fsdk_define.h" // For FX_UINT. |
| 12 | |
| 13 | class CJS_Context; |
| 14 | |
John Abd-El-Malek | 3f3b45c | 2014-05-23 17:28:10 -0700 | [diff] [blame] | 15 | #define IDS_STRING_JSALERT 25613 |
| 16 | #define IDS_STRING_JSPARAMERROR 25614 |
| 17 | #define IDS_STRING_JSAFNUMBER_KEYSTROKE 25615 |
John Abd-El-Malek | 3f3b45c | 2014-05-23 17:28:10 -0700 | [diff] [blame] | 18 | #define IDS_STRING_JSPARAM_TOOLONG 25617 |
| 19 | #define IDS_STRING_JSPARSEDATE 25618 |
| 20 | #define IDS_STRING_JSRANGE1 25619 |
| 21 | #define IDS_STRING_JSRANGE2 25620 |
| 22 | #define IDS_STRING_JSRANGE3 25621 |
John Abd-El-Malek | 3f3b45c | 2014-05-23 17:28:10 -0700 | [diff] [blame] | 23 | #define IDS_STRING_NOTSUPPORT 25627 |
| 24 | #define IDS_STRING_JSBUSY 25628 |
| 25 | #define IDS_STRING_JSEVENT 25629 |
| 26 | #define IDS_STRING_RUN 25630 |
John Abd-El-Malek | 3f3b45c | 2014-05-23 17:28:10 -0700 | [diff] [blame] | 27 | #define IDS_STRING_JSPRINT1 25632 |
| 28 | #define IDS_STRING_JSPRINT2 25633 |
John Abd-El-Malek | 3f3b45c | 2014-05-23 17:28:10 -0700 | [diff] [blame] | 29 | #define IDS_JSPARAM_INCORRECT 25635 |
John Abd-El-Malek | 3f3b45c | 2014-05-23 17:28:10 -0700 | [diff] [blame] | 30 | |
Tom Sepez | 2b0ed94 | 2015-02-27 13:58:29 -0800 | [diff] [blame] | 31 | CFX_WideString JSGetStringFromID(CJS_Context* pContext, FX_UINT id); |
John Abd-El-Malek | 3f3b45c | 2014-05-23 17:28:10 -0700 | [diff] [blame] | 32 | |
Tom Sepez | 2b0ed94 | 2015-02-27 13:58:29 -0800 | [diff] [blame] | 33 | #endif // FPDFSDK_INCLUDE_JAVASCRIPT_RESOURCE_H_ |