| Index: xfa/fxbarcode/pdf417/BC_PDF417DetectorResult.h
|
| diff --git a/xfa/fxbarcode/pdf417/BC_PDF417DetectorResult.h b/xfa/fxbarcode/pdf417/BC_PDF417DetectorResult.h
|
| index 558111a28a946393900069e233e519f5e235fe0b..afb200a4eac6053fed308044d1411c6ea77561bb 100644
|
| --- a/xfa/fxbarcode/pdf417/BC_PDF417DetectorResult.h
|
| +++ b/xfa/fxbarcode/pdf417/BC_PDF417DetectorResult.h
|
| @@ -8,19 +8,23 @@
|
| #define XFA_FXBARCODE_PDF417_BC_PDF417DETECTORRESULT_H_
|
|
|
| #include "core/fxcrt/include/fx_basic.h"
|
| +#include "xfa/fxbarcode/BC_ResultPoint.h"
|
|
|
| class CBC_CommonBitMatrix;
|
|
|
| -class CBC_PDF417DetectorResult {
|
| +class CBC_PDF417DetectorResult final {
|
| public:
|
| - CBC_PDF417DetectorResult(CBC_CommonBitMatrix* bits, CFX_PtrArray* points);
|
| - virtual ~CBC_PDF417DetectorResult();
|
| - CBC_CommonBitMatrix* getBits();
|
| - CFX_PtrArray* getPoints();
|
| + // Takes ownership of |points|.
|
| + CBC_PDF417DetectorResult(CBC_CommonBitMatrix* bits,
|
| + CBC_ResultPointArrayArray* points);
|
| + ~CBC_PDF417DetectorResult();
|
| +
|
| + CBC_CommonBitMatrix* getBits() const;
|
| + CBC_ResultPointArrayArray* getPoints() const;
|
|
|
| private:
|
| CBC_CommonBitMatrix* m_bits;
|
| - CFX_PtrArray* m_points;
|
| + std::unique_ptr<CBC_ResultPointArrayArray> m_points;
|
| };
|
|
|
| #endif // XFA_FXBARCODE_PDF417_BC_PDF417DETECTORRESULT_H_
|
|
|