From 1bbcb35e4e5593998837c832eabf16a91a695387 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 25 May 2017 18:43:44 -0700 Subject: Replace SymbolShapeHint with a boolean. Delete BC_SymbolShapeHint.h since there is nothing left in it. Change-Id: Ic991064cd396f224966e5f3e8537fc62b5a9908a Reviewed-on: https://pdfium-review.googlesource.com/5835 Commit-Queue: Lei Zhang Reviewed-by: Tom Sepez --- fxbarcode/datamatrix/BC_EncoderContext.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'fxbarcode/datamatrix/BC_EncoderContext.h') diff --git a/fxbarcode/datamatrix/BC_EncoderContext.h b/fxbarcode/datamatrix/BC_EncoderContext.h index 21ea695c3d..4931501c45 100644 --- a/fxbarcode/datamatrix/BC_EncoderContext.h +++ b/fxbarcode/datamatrix/BC_EncoderContext.h @@ -9,7 +9,6 @@ #include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/cfx_widestring.h" -#include "fxbarcode/datamatrix/BC_SymbolShapeHint.h" class CBC_SymbolInfo; @@ -20,7 +19,7 @@ class CBC_EncoderContext { int32_t& e); ~CBC_EncoderContext(); - void setSymbolShape(SymbolShapeHint shape); + void setAllowRectangular(bool allow); void setSkipAtEnd(int32_t count); wchar_t getCurrentChar(); wchar_t getCurrent(); @@ -44,7 +43,7 @@ class CBC_EncoderContext { private: int32_t getTotalMessageCharCount(); - SymbolShapeHint m_shape; + bool m_allowRectangular; // Force square when false. int32_t m_skipAtEnd; }; -- cgit v1.2.3