summaryrefslogtreecommitdiff
path: root/xfa/include/fwl/basewidget/fxmath_barcode.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/include/fwl/basewidget/fxmath_barcode.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/include/fwl/basewidget/fxmath_barcode.h')
-rw-r--r--xfa/include/fwl/basewidget/fxmath_barcode.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/xfa/include/fwl/basewidget/fxmath_barcode.h b/xfa/include/fwl/basewidget/fxmath_barcode.h
index c6ef766f7f..58ce11727c 100644
--- a/xfa/include/fwl/basewidget/fxmath_barcode.h
+++ b/xfa/include/fwl/basewidget/fxmath_barcode.h
@@ -7,12 +7,21 @@
#ifndef XFA_INCLUDE_FWL_BASEWIDGET_FXMATH_BARCODE_H_
#define XFA_INCLUDE_FWL_BASEWIDGET_FXMATH_BARCODE_H_
-#include "xfa/include/fxbarcode/BC_BarCode.h"
+#include "core/include/fxcrt/fx_string.h"
+#include "core/include/fxcrt/fx_system.h"
+#include "core/include/fxge/fx_dib.h"
+#include "xfa/fxbarcode/include/BC_Library.h"
+
+class CFX_Font;
+class CFX_Matrix;
+class CFX_RenderDevice;
class IFX_Barcode {
public:
virtual ~IFX_Barcode() {}
+
virtual void Release() = 0;
+
virtual BC_TYPE GetType() = 0;
virtual FX_BOOL Encode(const CFX_WideStringC& contents,
FX_BOOL isDevice,
@@ -47,6 +56,7 @@ class IFX_Barcode {
virtual FX_BOOL SetErrorCorrectionLevel(int32_t level) = 0;
virtual FX_BOOL SetTruncated(FX_BOOL truncated) = 0;
};
+
IFX_Barcode* FX_Barcode_Create(BC_TYPE type);
#endif // XFA_INCLUDE_FWL_BASEWIDGET_FXMATH_BARCODE_H_