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 #include "fpdfsdk/src/javascript/report.h" | 7 #include "fpdfsdk/src/javascript/report.h" |
8 | 8 |
| 9 #include <vector> |
| 10 |
9 #include "fpdfsdk/include/javascript/IJavaScript.h" | 11 #include "fpdfsdk/include/javascript/IJavaScript.h" |
10 #include "fpdfsdk/src/javascript/JS_Define.h" | 12 #include "fpdfsdk/src/javascript/JS_Define.h" |
11 #include "fpdfsdk/src/javascript/JS_Object.h" | 13 #include "fpdfsdk/src/javascript/JS_Object.h" |
12 #include "fpdfsdk/src/javascript/JS_Value.h" | 14 #include "fpdfsdk/src/javascript/JS_Value.h" |
13 | 15 |
14 /* ---------------------- report ---------------------- */ | 16 /* ---------------------- report ---------------------- */ |
15 | 17 |
16 BEGIN_JS_STATIC_CONST(CJS_Report) | 18 BEGIN_JS_STATIC_CONST(CJS_Report) |
17 END_JS_STATIC_CONST() | 19 END_JS_STATIC_CONST() |
18 | 20 |
(...skipping 19 matching lines...) Expand all Loading... |
38 return TRUE; | 40 return TRUE; |
39 } | 41 } |
40 | 42 |
41 FX_BOOL Report::save(IJS_Context* cc, | 43 FX_BOOL Report::save(IJS_Context* cc, |
42 const std::vector<CJS_Value>& params, | 44 const std::vector<CJS_Value>& params, |
43 CJS_Value& vRet, | 45 CJS_Value& vRet, |
44 CFX_WideString& sError) { | 46 CFX_WideString& sError) { |
45 // Unsafe, not supported. | 47 // Unsafe, not supported. |
46 return TRUE; | 48 return TRUE; |
47 } | 49 } |
OLD | NEW |