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

Side by Side Diff: xfa/fxbarcode/oned/BC_OnedCode39Writer.h

Issue 2383583002: Move xfa/{fwl,fxbarcode,fxgraphics}/include up to parent (Closed)
Patch Set: Rebase to master Created 4 years, 2 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/fxbarcode/oned/BC_OnedCodaBarWriter.h ('k') | xfa/fxbarcode/oned/BC_OnedEAN8Writer.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_FXBARCODE_ONED_BC_ONEDCODE39WRITER_H_ 7 #ifndef XFA_FXBARCODE_ONED_BC_ONEDCODE39WRITER_H_
8 #define XFA_FXBARCODE_ONED_BC_ONEDCODE39WRITER_H_ 8 #define XFA_FXBARCODE_ONED_BC_ONEDCODE39WRITER_H_
9 9
10 #include "xfa/fxbarcode/include/BC_Library.h" 10 #include "xfa/fxbarcode/BC_Library.h"
11 #include "xfa/fxbarcode/oned/BC_OneDimWriter.h" 11 #include "xfa/fxbarcode/oned/BC_OneDimWriter.h"
12 12
13 class CBC_OnedCode39Writer : public CBC_OneDimWriter { 13 class CBC_OnedCode39Writer : public CBC_OneDimWriter {
14 public: 14 public:
15 CBC_OnedCode39Writer(); 15 CBC_OnedCode39Writer();
16 ~CBC_OnedCode39Writer() override; 16 ~CBC_OnedCode39Writer() override;
17 17
18 // CBC_OneDimWriter 18 // CBC_OneDimWriter
19 uint8_t* Encode(const CFX_ByteString& contents, 19 uint8_t* Encode(const CFX_ByteString& contents,
20 BCFORMAT format, 20 BCFORMAT format,
(...skipping 24 matching lines...) Expand all
45 virtual FX_BOOL SetWideNarrowRatio(int32_t ratio); 45 virtual FX_BOOL SetWideNarrowRatio(int32_t ratio);
46 46
47 private: 47 private:
48 void ToIntArray(int32_t a, int32_t* toReturn); 48 void ToIntArray(int32_t a, int32_t* toReturn);
49 FX_CHAR CalcCheckSum(const CFX_ByteString& contents, int32_t& e); 49 FX_CHAR CalcCheckSum(const CFX_ByteString& contents, int32_t& e);
50 50
51 int32_t m_iWideNarrRatio; 51 int32_t m_iWideNarrRatio;
52 }; 52 };
53 53
54 #endif // XFA_FXBARCODE_ONED_BC_ONEDCODE39WRITER_H_ 54 #endif // XFA_FXBARCODE_ONED_BC_ONEDCODE39WRITER_H_
OLDNEW
« no previous file with comments | « xfa/fxbarcode/oned/BC_OnedCodaBarWriter.h ('k') | xfa/fxbarcode/oned/BC_OnedEAN8Writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698