summaryrefslogtreecommitdiff
path: root/xfa/fxbarcode/oned/BC_OnedEAN13Writer.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2016-03-21 15:15:56 -0400
committerDan Sinclair <dsinclair@chromium.org>2016-03-21 15:15:56 -0400
commita98600aeb8d815c297834aa5006f5c3ea20dde6d (patch)
treef5e8d107353a1355378f096098c58b01b3d8f828 /xfa/fxbarcode/oned/BC_OnedEAN13Writer.h
parent69bbb0010cb83a7fa63d0901df6aef1de0ccfc0c (diff)
downloadpdfium-a98600aeb8d815c297834aa5006f5c3ea20dde6d.tar.xz
Move xfa/include/fxbarcode/BC_Barcode.h to xfa/fxbarcode.
This CL splits apart the larger header into individual class headers in the xfa/fxbarcode directory. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1816133002 .
Diffstat (limited to 'xfa/fxbarcode/oned/BC_OnedEAN13Writer.h')
-rw-r--r--xfa/fxbarcode/oned/BC_OnedEAN13Writer.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/xfa/fxbarcode/oned/BC_OnedEAN13Writer.h b/xfa/fxbarcode/oned/BC_OnedEAN13Writer.h
index fd23129975..de17ac713e 100644
--- a/xfa/fxbarcode/oned/BC_OnedEAN13Writer.h
+++ b/xfa/fxbarcode/oned/BC_OnedEAN13Writer.h
@@ -7,12 +7,14 @@
#ifndef XFA_FXBARCODE_ONED_BC_ONEDEAN13WRITER_H_
#define XFA_FXBARCODE_ONED_BC_ONEDEAN13WRITER_H_
-class CBC_OneDimWriter;
-class CBC_OnedEAN13Writer;
-class CBC_OnedEAN13Writer : public CBC_OneDimWriter {
- private:
- int32_t m_codeWidth;
+#include "core/include/fxcrt/fx_string.h"
+#include "core/include/fxcrt/fx_system.h"
+#include "xfa/fxbarcode/oned/BC_OneDimWriter.h"
+class CFX_DIBitmap;
+class CFX_RenderDevice;
+
+class CBC_OnedEAN13Writer : public CBC_OneDimWriter {
public:
CBC_OnedEAN13Writer();
virtual ~CBC_OnedEAN13Writer();
@@ -31,6 +33,7 @@ class CBC_OnedEAN13Writer : public CBC_OneDimWriter {
uint8_t* Encode(const CFX_ByteString& contents,
int32_t& outLength,
int32_t& e);
+
void RenderResult(const CFX_WideStringC& contents,
uint8_t* code,
int32_t codeLength,
@@ -48,6 +51,9 @@ class CBC_OnedEAN13Writer : public CBC_OneDimWriter {
int32_t barWidth,
int32_t multiple,
int32_t& e);
+
+ private:
+ int32_t m_codeWidth;
};
#endif // XFA_FXBARCODE_ONED_BC_ONEDEAN13WRITER_H_