Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(374)

Side by Side Diff: xfa/fxfa/fm2js/xfa_error.h

Issue 1835703002: Remove FX_DWORD from XFA, part 2 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fxfa/app/xfa_textlayout.h ('k') | xfa/fxfa/fm2js/xfa_expression.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 XFA_FXFA_FM2JS_XFA_ERROR_H_ 7 #ifndef XFA_FXFA_FM2JS_XFA_ERROR_H_
8 #define XFA_FXFA_FM2JS_XFA_ERROR_H_ 8 #define XFA_FXFA_FM2JS_XFA_ERROR_H_
9 9
10 #include "core/fxcrt/include/fx_string.h" 10 #include "core/fxcrt/include/fx_string.h"
11 #include "core/fxcrt/include/fx_system.h" 11 #include "core/fxcrt/include/fx_system.h"
12 12
13 enum XFA_FM_ERRMSG { 13 enum XFA_FM_ERRMSG {
14 FMERR_UNSUPPORTED_CHAR, 14 FMERR_UNSUPPORTED_CHAR,
15 FMERR_BAD_SUFFIX_NUMBER, 15 FMERR_BAD_SUFFIX_NUMBER,
16 FMERR_INVALIDATE_CHAR, 16 FMERR_INVALIDATE_CHAR,
17 FMERR_EXPECTED_IDENTIFIER, 17 FMERR_EXPECTED_IDENTIFIER,
18 FMERR_EXPECTED_TOKEN, 18 FMERR_EXPECTED_TOKEN,
19 FMERR_EXPECTED_IFEND, 19 FMERR_EXPECTED_IFEND,
20 FMERR_UNEXPECTED_EXPRESSION, 20 FMERR_UNEXPECTED_EXPRESSION,
21 FMERR_EXPTECTED_OPERATOR, 21 FMERR_EXPTECTED_OPERATOR,
22 FMERR_EXPECTED_NON_EMPTY_EXPRESSION, 22 FMERR_EXPECTED_NON_EMPTY_EXPRESSION,
23 FMERR_MAXIMUM 23 FMERR_MAXIMUM
24 }; 24 };
25 25
26 class CXFA_FMErrorInfo { 26 class CXFA_FMErrorInfo {
27 public: 27 public:
28 CXFA_FMErrorInfo() : linenum(0) {} 28 CXFA_FMErrorInfo() : linenum(0) {}
29 ~CXFA_FMErrorInfo() {} 29 ~CXFA_FMErrorInfo() {}
30 FX_DWORD linenum; 30 uint32_t linenum;
31 CFX_WideString message; 31 CFX_WideString message;
32 }; 32 };
33 const FX_WCHAR* XFA_FM_ErrorMsg(XFA_FM_ERRMSG msg); 33 const FX_WCHAR* XFA_FM_ErrorMsg(XFA_FM_ERRMSG msg);
34 34
35 #endif // XFA_FXFA_FM2JS_XFA_ERROR_H_ 35 #endif // XFA_FXFA_FM2JS_XFA_ERROR_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_textlayout.h ('k') | xfa/fxfa/fm2js/xfa_expression.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698