summaryrefslogtreecommitdiff
path: root/xfa/fxbarcode/cbc_codebase.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-06-16 12:29:07 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-16 12:29:07 -0700
commita26153440b46b3b37b7e81435debb296f22769f4 (patch)
tree37b3073d15af7ae2850b5a02be87123feb54a054 /xfa/fxbarcode/cbc_codebase.h
parent8320ee28f24615d1d619a5db1b7c235ea6f91dde (diff)
downloadpdfium-a26153440b46b3b37b7e81435debb296f22769f4.tar.xz
Remove barcode reading code.
We never read barcodes, we only write them. Remove code related to barcode reading. Review-Url: https://codereview.chromium.org/2071633002
Diffstat (limited to 'xfa/fxbarcode/cbc_codebase.h')
-rw-r--r--xfa/fxbarcode/cbc_codebase.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/xfa/fxbarcode/cbc_codebase.h b/xfa/fxbarcode/cbc_codebase.h
index 1ecfe20b27..f13c15395f 100644
--- a/xfa/fxbarcode/cbc_codebase.h
+++ b/xfa/fxbarcode/cbc_codebase.h
@@ -20,7 +20,7 @@ class CFX_RenderDevice;
class CBC_CodeBase {
public:
- CBC_CodeBase(CBC_Reader* pReader, CBC_Writer* pWriter);
+ explicit CBC_CodeBase(CBC_Writer* pWriter);
virtual ~CBC_CodeBase();
virtual BC_TYPE GetType() = 0;
@@ -31,11 +31,6 @@ class CBC_CodeBase {
const CFX_Matrix* matrix,
int32_t& e) = 0;
virtual FX_BOOL RenderBitmap(CFX_DIBitmap*& pOutBitmap, int32_t& e) = 0;
- virtual CFX_WideString Decode(uint8_t* buf,
- int32_t width,
- int32_t height,
- int32_t& e) = 0;
- virtual CFX_WideString Decode(CFX_DIBitmap* pBitmap, int32_t& e) = 0;
FX_BOOL SetCharEncoding(int32_t encoding);
FX_BOOL SetModuleHeight(int32_t moduleHeight);
@@ -46,7 +41,6 @@ class CBC_CodeBase {
void SetBarcodeColor(FX_ARGB foregroundColor);
protected:
- std::unique_ptr<CBC_Reader> m_pBCReader;
std::unique_ptr<CBC_Writer> m_pBCWriter;
};