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

Side by Side Diff: xfa/include/fwl/basewidget/fxmath_barcode.h

Issue 1746053003: Remove foxitlib.h and foxitxfa.h and IWYU. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Review cleanup 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/include/foxitxfa.h ('k') | xfa/src/fdp/include/fde_pth.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_INCLUDE_FWL_BASEWIDGET_FXMATH_BARCODE_H_ 7 #ifndef XFA_INCLUDE_FWL_BASEWIDGET_FXMATH_BARCODE_H_
8 #define XFA_INCLUDE_FWL_BASEWIDGET_FXMATH_BARCODE_H_ 8 #define XFA_INCLUDE_FWL_BASEWIDGET_FXMATH_BARCODE_H_
9 9
10 #include "xfa/include/fxbarcode/BC_BarCode.h"
11
10 class IFX_Barcode { 12 class IFX_Barcode {
11 public: 13 public:
12 virtual ~IFX_Barcode() {} 14 virtual ~IFX_Barcode() {}
13 virtual void Release() = 0; 15 virtual void Release() = 0;
14 virtual BC_TYPE GetType() = 0; 16 virtual BC_TYPE GetType() = 0;
15 virtual FX_BOOL Encode(const CFX_WideStringC& contents, 17 virtual FX_BOOL Encode(const CFX_WideStringC& contents,
16 FX_BOOL isDevice, 18 FX_BOOL isDevice,
17 int32_t& e) = 0; 19 int32_t& e) = 0;
18 virtual FX_BOOL RenderDevice(CFX_RenderDevice* device, 20 virtual FX_BOOL RenderDevice(CFX_RenderDevice* device,
19 const CFX_Matrix* matirx, 21 const CFX_Matrix* matirx,
(...skipping 21 matching lines...) Expand all
41 virtual FX_BOOL SetWideNarrowRatio(int32_t ratio) = 0; 43 virtual FX_BOOL SetWideNarrowRatio(int32_t ratio) = 0;
42 virtual FX_BOOL SetStartChar(FX_CHAR start) = 0; 44 virtual FX_BOOL SetStartChar(FX_CHAR start) = 0;
43 virtual FX_BOOL SetEndChar(FX_CHAR end) = 0; 45 virtual FX_BOOL SetEndChar(FX_CHAR end) = 0;
44 virtual FX_BOOL SetVersion(int32_t version) = 0; 46 virtual FX_BOOL SetVersion(int32_t version) = 0;
45 virtual FX_BOOL SetErrorCorrectionLevel(int32_t level) = 0; 47 virtual FX_BOOL SetErrorCorrectionLevel(int32_t level) = 0;
46 virtual FX_BOOL SetTruncated(FX_BOOL truncated) = 0; 48 virtual FX_BOOL SetTruncated(FX_BOOL truncated) = 0;
47 }; 49 };
48 IFX_Barcode* FX_Barcode_Create(BC_TYPE type); 50 IFX_Barcode* FX_Barcode_Create(BC_TYPE type);
49 51
50 #endif // XFA_INCLUDE_FWL_BASEWIDGET_FXMATH_BARCODE_H_ 52 #endif // XFA_INCLUDE_FWL_BASEWIDGET_FXMATH_BARCODE_H_
OLDNEW
« no previous file with comments | « xfa/include/foxitxfa.h ('k') | xfa/src/fdp/include/fde_pth.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698