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

Side by Side Diff: xfa/src/fxfa/src/fm2js/xfa_program.h

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 6 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/src/fxfa/src/fm2js/xfa_lexer.cpp ('k') | xfa/src/fxfa/src/fm2js/xfa_program.cpp » ('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_FM_PROGRAM_H 7 #ifndef _XFA_FM_PROGRAM_H
8 #define _XFA_FM_PROGRAM_H 8 #define _XFA_FM_PROGRAM_H
9 class CXFA_FMProgram 9 class CXFA_FMProgram
10 { 10 {
11 public: 11 public:
12 CXFA_FMProgram(); 12 CXFA_FMProgram();
13 ~CXFA_FMProgram(); 13 ~CXFA_FMProgram();
14 FX_INT32 Init(FX_WSTR wsFormcalc); 14 int32_t Init(FX_WSTR wsFormcalc);
15 FX_INT32 ParseProgram(); 15 int32_t ParseProgram();
16 FX_INT32 TranslateProgram(CFX_WideTextBuf &wsJavaScript); 16 int32_t TranslateProgram(CFX_WideTextBuf &wsJavaScript);
17 CXFA_FMErrorInfo& GetError() 17 CXFA_FMErrorInfo& GetError()
18 { 18 {
19 return m_pErrorInfo; 19 return m_pErrorInfo;
20 } 20 }
21 private: 21 private:
22 CXFA_FMErrorInfo m_pErrorInfo; 22 CXFA_FMErrorInfo m_pErrorInfo;
23 CXFA_FMParse m_parse; 23 CXFA_FMParse m_parse;
24 CXFA_FMFunctionDefinition *m_globalFunction; 24 CXFA_FMFunctionDefinition *m_globalFunction;
25 }; 25 };
26 #endif 26 #endif
OLDNEW
« no previous file with comments | « xfa/src/fxfa/src/fm2js/xfa_lexer.cpp ('k') | xfa/src/fxfa/src/fm2js/xfa_program.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698