summaryrefslogtreecommitdiff
path: root/xfa/fxbarcode/qrcode/BC_QRCoderBlockPair.h
blob: 5427436761d6aeb817289fc4f98cf4e31cd5c6c3 (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
// 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_QRCODE_BC_QRCODERBLOCKPAIR_H_
#define XFA_FXBARCODE_QRCODE_BC_QRCODERBLOCKPAIR_H_

class CBC_CommonByteArray;
class CBC_QRCoderBlockPair {
 private:
  CBC_CommonByteArray* m_dataBytes;
  CBC_CommonByteArray* m_errorCorrectionBytes;

 public:
  CBC_QRCoderBlockPair(CBC_CommonByteArray* data,
                       CBC_CommonByteArray* errorCorrection);
  virtual ~CBC_QRCoderBlockPair();

  CBC_CommonByteArray* GetDataBytes();
  CBC_CommonByteArray* GetErrorCorrectionBytes();
};

#endif  // XFA_FXBARCODE_QRCODE_BC_QRCODERBLOCKPAIR_H_