summaryrefslogtreecommitdiff
path: root/xfa/fxbarcode/qrcode/BC_QRDetectorResult.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxbarcode/qrcode/BC_QRDetectorResult.h')
-rw-r--r--xfa/fxbarcode/qrcode/BC_QRDetectorResult.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/xfa/fxbarcode/qrcode/BC_QRDetectorResult.h b/xfa/fxbarcode/qrcode/BC_QRDetectorResult.h
new file mode 100644
index 0000000000..c6145ecbbe
--- /dev/null
+++ b/xfa/fxbarcode/qrcode/BC_QRDetectorResult.h
@@ -0,0 +1,26 @@
+// 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_QRDETECTORRESULT_H_
+#define XFA_FXBARCODE_QRCODE_BC_QRDETECTORRESULT_H_
+
+#include "core/include/fxcrt/fx_basic.h"
+
+class CBC_CommonBitMatrix;
+
+class CBC_QRDetectorResult {
+ private:
+ CBC_CommonBitMatrix* m_bits;
+ CFX_PtrArray* m_points;
+
+ public:
+ CBC_QRDetectorResult(CBC_CommonBitMatrix* bits, CFX_PtrArray* points);
+ virtual ~CBC_QRDetectorResult();
+ CBC_CommonBitMatrix* GetBits();
+ CFX_PtrArray* GetPoints();
+};
+
+#endif // XFA_FXBARCODE_QRCODE_BC_QRDETECTORRESULT_H_