summaryrefslogtreecommitdiff
path: root/fxbarcode/datamatrix/BC_EncoderContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'fxbarcode/datamatrix/BC_EncoderContext.h')
-rw-r--r--fxbarcode/datamatrix/BC_EncoderContext.h5
1 files changed, 2 insertions, 3 deletions
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;
};