| Index: xfa/fwl/core/ifwl_barcode.h
|
| diff --git a/xfa/fwl/core/ifwl_barcode.h b/xfa/fwl/core/ifwl_barcode.h
|
| index 28025fc8bc09266194576a4b78a8cee6657cdb8b..1d88c322592c409bd781a0994bd41c65b4eb2032 100644
|
| --- a/xfa/fwl/core/ifwl_barcode.h
|
| +++ b/xfa/fwl/core/ifwl_barcode.h
|
| @@ -9,6 +9,7 @@
|
|
|
| #include <memory>
|
|
|
| +#include "xfa/fwl/core/ifwl_dataprovider.h"
|
| #include "xfa/fwl/core/ifwl_edit.h"
|
| #include "xfa/fwl/core/ifwl_scrollbar.h"
|
| #include "xfa/fxbarcode/BC_Library.h"
|
| @@ -37,7 +38,7 @@ enum FWL_BCDAttribute {
|
| FWL_BCDATTRIBUTE_TRUNCATED = 1 << 12
|
| };
|
|
|
| -class IFWL_BarcodeDP : public IFWL_EditDP {
|
| +class IFWL_BarcodeDP : public IFWL_DataProvider {
|
| public:
|
| virtual BC_CHAR_ENCODING GetCharEncoding() const = 0;
|
| virtual int32_t GetModuleHeight() const = 0;
|
| @@ -66,9 +67,11 @@ class IFWL_Barcode : public IFWL_Edit {
|
| void Update() override;
|
| void DrawWidget(CFX_Graphics* pGraphics,
|
| const CFX_Matrix* pMatrix = nullptr) override;
|
| - FWL_Error SetText(const CFX_WideString& wsText) override;
|
| void OnProcessEvent(CFWL_Event* pEvent) override;
|
|
|
| + // IFWL_Edit
|
| + void SetText(const CFX_WideString& wsText) override;
|
| +
|
| void SetType(BC_TYPE type);
|
| bool IsProtectedType();
|
|
|
|
|