summaryrefslogtreecommitdiff
path: root/xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMetadata.h
blob: 6d4b95e8f97b5ca5e340031fd5cbc4c446581376 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com

#ifndef XFA_SRC_FXBARCODE_PDF417_BC_PDF417BARCODEMETADATA_H_
#define XFA_SRC_FXBARCODE_PDF417_BC_PDF417BARCODEMETADATA_H_

#include <stdint.h>

class CBC_BarcodeMetadata {
 public:
  CBC_BarcodeMetadata(int32_t columnCount,
                      int32_t rowCountUpperPart,
                      int32_t rowCountLowerPart,
                      int32_t errorCorrectionLevel);
  virtual ~CBC_BarcodeMetadata();
  int32_t getColumnCount();
  int32_t getErrorCorrectionLevel();
  int32_t getRowCount();
  int32_t getRowCountUpperPart();
  int32_t getRowCountLowerPart();

 private:
  int32_t m_columnCount;
  int32_t m_errorCorrectionLevel;
  int32_t m_rowCountUpperPart;
  int32_t m_rowCountLowerPart;
  int32_t m_rowCount;
};

#endif  // XFA_SRC_FXBARCODE_PDF417_BC_PDF417BARCODEMETADATA_H_