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

Side by Side Diff: xfa/fxbarcode/cbc_onecode.h

Issue 2467203003: Remove FX_BOOL from xfa. (Closed)
Patch Set: Created 4 years, 1 month 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/fxbarcode/cbc_ean8.cpp ('k') | xfa/fxbarcode/cbc_onecode.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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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_FXBARCODE_CBC_ONECODE_H_ 7 #ifndef XFA_FXBARCODE_CBC_ONECODE_H_
8 #define XFA_FXBARCODE_CBC_ONECODE_H_ 8 #define XFA_FXBARCODE_CBC_ONECODE_H_
9 9
10 #include "core/fxcrt/fx_string.h" 10 #include "core/fxcrt/fx_string.h"
11 #include "core/fxcrt/fx_system.h" 11 #include "core/fxcrt/fx_system.h"
12 #include "xfa/fxbarcode/cbc_codebase.h" 12 #include "xfa/fxbarcode/cbc_codebase.h"
13 13
14 class CFX_DIBitmap; 14 class CFX_DIBitmap;
15 class CFX_Font; 15 class CFX_Font;
16 class CFX_RenderDevice; 16 class CFX_RenderDevice;
17 17
18 class CBC_OneCode : public CBC_CodeBase { 18 class CBC_OneCode : public CBC_CodeBase {
19 public: 19 public:
20 explicit CBC_OneCode(CBC_Writer* pWriter); 20 explicit CBC_OneCode(CBC_Writer* pWriter);
21 ~CBC_OneCode() override; 21 ~CBC_OneCode() override;
22 22
23 virtual FX_BOOL CheckContentValidity(const CFX_WideStringC& contents); 23 virtual bool CheckContentValidity(const CFX_WideStringC& contents);
24 virtual CFX_WideString FilterContents(const CFX_WideStringC& contents); 24 virtual CFX_WideString FilterContents(const CFX_WideStringC& contents);
25 25
26 virtual void SetPrintChecksum(FX_BOOL checksum); 26 virtual void SetPrintChecksum(bool checksum);
27 virtual void SetDataLength(int32_t length); 27 virtual void SetDataLength(int32_t length);
28 virtual void SetCalChecksum(FX_BOOL calc); 28 virtual void SetCalChecksum(bool calc);
29 virtual FX_BOOL SetFont(CFX_Font* cFont); 29 virtual bool SetFont(CFX_Font* cFont);
30 virtual void SetFontSize(FX_FLOAT size); 30 virtual void SetFontSize(FX_FLOAT size);
31 virtual void SetFontStyle(int32_t style); 31 virtual void SetFontStyle(int32_t style);
32 virtual void SetFontColor(FX_ARGB color); 32 virtual void SetFontColor(FX_ARGB color);
33 }; 33 };
34 34
35 #endif // XFA_FXBARCODE_CBC_ONECODE_H_ 35 #endif // XFA_FXBARCODE_CBC_ONECODE_H_
OLDNEW
« no previous file with comments | « xfa/fxbarcode/cbc_ean8.cpp ('k') | xfa/fxbarcode/cbc_onecode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698