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

Side by Side Diff: xfa/src/fxbarcode/datamatrix/BC_DefaultPlacement.h

Issue 1707893004: Fixup incorrect include guards. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 10 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
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 _BC_DEFAULTPLACEMENT_H_ 7 #ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_DEFAULTPLACEMENT_H_
8 #define _BC_DEFAULTPLACEMENT_H_ 8 #define XFA_SRC_FXBARCODE_DATAMATRIX_BC_DEFAULTPLACEMENT_H_
9
9 class CBC_DefaultPlacement { 10 class CBC_DefaultPlacement {
10 public: 11 public:
11 CBC_DefaultPlacement(CFX_WideString codewords, 12 CBC_DefaultPlacement(CFX_WideString codewords,
12 int32_t numcols, 13 int32_t numcols,
13 int32_t numrows); 14 int32_t numrows);
14 virtual ~CBC_DefaultPlacement(); 15 virtual ~CBC_DefaultPlacement();
15 16
16 int32_t getNumrows(); 17 int32_t getNumrows();
17 int32_t getNumcols(); 18 int32_t getNumcols();
18 CFX_ByteArray& getBits(); 19 CFX_ByteArray& getBits();
19 FX_BOOL getBit(int32_t col, int32_t row); 20 FX_BOOL getBit(int32_t col, int32_t row);
20 void setBit(int32_t col, int32_t row, FX_BOOL bit); 21 void setBit(int32_t col, int32_t row, FX_BOOL bit);
21 FX_BOOL hasBit(int32_t col, int32_t row); 22 FX_BOOL hasBit(int32_t col, int32_t row);
22 void place(); 23 void place();
23 24
24 private: 25 private:
25 CFX_WideString m_codewords; 26 CFX_WideString m_codewords;
26 int32_t m_numrows; 27 int32_t m_numrows;
27 int32_t m_numcols; 28 int32_t m_numcols;
28 CFX_ByteArray m_bits; 29 CFX_ByteArray m_bits;
29 void module(int32_t row, int32_t col, int32_t pos, int32_t bit); 30 void module(int32_t row, int32_t col, int32_t pos, int32_t bit);
30 void utah(int32_t row, int32_t col, int32_t pos); 31 void utah(int32_t row, int32_t col, int32_t pos);
31 void corner1(int32_t pos); 32 void corner1(int32_t pos);
32 void corner2(int32_t pos); 33 void corner2(int32_t pos);
33 void corner3(int32_t pos); 34 void corner3(int32_t pos);
34 void corner4(int32_t pos); 35 void corner4(int32_t pos);
35 }; 36 };
36 #endif 37
38 #endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_DEFAULTPLACEMENT_H_
OLDNEW
« no previous file with comments | « xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.h ('k') | xfa/src/fxbarcode/datamatrix/BC_EdifactEncoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698