summaryrefslogtreecommitdiff
path: root/fxbarcode/qrcode/BC_QRCoderBlockPair.h
diff options
context:
space:
mode:
Diffstat (limited to 'fxbarcode/qrcode/BC_QRCoderBlockPair.h')
-rw-r--r--fxbarcode/qrcode/BC_QRCoderBlockPair.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/fxbarcode/qrcode/BC_QRCoderBlockPair.h b/fxbarcode/qrcode/BC_QRCoderBlockPair.h
index 7c24d9f5ec..9d571f3410 100644
--- a/fxbarcode/qrcode/BC_QRCoderBlockPair.h
+++ b/fxbarcode/qrcode/BC_QRCoderBlockPair.h
@@ -13,12 +13,13 @@ class CBC_CommonByteArray;
class CBC_QRCoderBlockPair {
public:
- CBC_QRCoderBlockPair(std::unique_ptr<CBC_CommonByteArray> data,
- std::unique_ptr<CBC_CommonByteArray> errorCorrection);
- virtual ~CBC_QRCoderBlockPair();
+ CBC_QRCoderBlockPair();
+ ~CBC_QRCoderBlockPair();
const CBC_CommonByteArray* GetDataBytes() const;
const CBC_CommonByteArray* GetErrorCorrectionBytes() const;
+ void SetData(std::unique_ptr<CBC_CommonByteArray> data,
+ std::unique_ptr<CBC_CommonByteArray> errorCorrection);
private:
std::unique_ptr<CBC_CommonByteArray> m_dataBytes;