summaryrefslogtreecommitdiff
path: root/xfa/src/fxbarcode/qrcode/BC_QRCoderBlockPair.h
blob: 30551fe6104e5b396ed961a7a5dab4ac1cf6fa15 (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_SRC_FXBARCODE_QRCODE_BC_QRCODERBLOCKPAIR_H_
#define XFA_SRC_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_SRC_FXBARCODE_QRCODE_BC_QRCODERBLOCKPAIR_H_