diff options
Diffstat (limited to 'fxbarcode/cbc_code39.h')
-rw-r--r-- | fxbarcode/cbc_code39.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/fxbarcode/cbc_code39.h b/fxbarcode/cbc_code39.h index f1e6acc848..4dea641a4f 100644 --- a/fxbarcode/cbc_code39.h +++ b/fxbarcode/cbc_code39.h @@ -13,24 +13,25 @@ #include "core/fxge/fx_dib.h" #include "fxbarcode/cbc_onecode.h" +class CBC_OnedCode39Writer; + class CBC_Code39 : public CBC_OneCode { public: CBC_Code39(); ~CBC_Code39() override; // CBC_OneCode: - bool Encode(const CFX_WideStringC& contents, - bool isDevice, - int32_t& e) override; + bool Encode(const CFX_WideStringC& contents, bool isDevice) override; bool RenderDevice(CFX_RenderDevice* device, - const CFX_Matrix* matrix, - int32_t& e) override; + const CFX_Matrix* matrix) override; BC_TYPE GetType() override; bool SetTextLocation(BC_TEXT_LOC location); - bool SetWideNarrowRatio(int32_t ratio); + bool SetWideNarrowRatio(int8_t ratio); private: + CBC_OnedCode39Writer* GetOnedCode39Writer(); + CFX_WideString m_renderContents; }; |