summaryrefslogtreecommitdiff
path: root/xfa/fxbarcode/pdf417/BC_PDF417BarcodeMetadata.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxbarcode/pdf417/BC_PDF417BarcodeMetadata.h')
-rw-r--r--xfa/fxbarcode/pdf417/BC_PDF417BarcodeMetadata.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/xfa/fxbarcode/pdf417/BC_PDF417BarcodeMetadata.h b/xfa/fxbarcode/pdf417/BC_PDF417BarcodeMetadata.h
new file mode 100644
index 0000000000..2b398f13f6
--- /dev/null
+++ b/xfa/fxbarcode/pdf417/BC_PDF417BarcodeMetadata.h
@@ -0,0 +1,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_FXBARCODE_PDF417_BC_PDF417BARCODEMETADATA_H_
+#define XFA_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_FXBARCODE_PDF417_BC_PDF417BARCODEMETADATA_H_