mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Replace WARN_ZPL_COMPAT with GS1NOCHECK_MODE
This commit is contained in:
@ -61,6 +61,7 @@ namespace Zint {
|
||||
m_whitespace = 0;
|
||||
m_vwhitespace = 0;
|
||||
m_gs1parens = false;
|
||||
m_gs1nocheck = false;
|
||||
m_gssep = false;
|
||||
m_reader_init = false;
|
||||
m_rotate_angle = 0;
|
||||
@ -98,6 +99,9 @@ namespace Zint {
|
||||
if (m_gs1parens) {
|
||||
m_zintSymbol->input_mode |= GS1PARENS_MODE;
|
||||
}
|
||||
if (m_gs1nocheck) {
|
||||
m_zintSymbol->input_mode |= GS1NOCHECK_MODE;
|
||||
}
|
||||
if (m_gssep) {
|
||||
m_zintSymbol->output_options |= GS1_GS_SEPARATOR;
|
||||
}
|
||||
@ -333,6 +337,10 @@ namespace Zint {
|
||||
m_gs1parens = gs1parens;
|
||||
}
|
||||
|
||||
void QZint::setGS1NoCheck(bool gs1nocheck) {
|
||||
m_gs1nocheck = gs1nocheck;
|
||||
}
|
||||
|
||||
void QZint::setReaderInit(bool reader_init) {
|
||||
m_reader_init = reader_init;
|
||||
}
|
||||
|
@ -101,6 +101,8 @@ public:
|
||||
|
||||
void setGS1Parens(bool gs1parens);
|
||||
|
||||
void setGS1NoCheck(bool gs1nocheck);
|
||||
|
||||
void setReaderInit(bool reader_init);
|
||||
|
||||
void setDebug(bool debug);
|
||||
@ -172,6 +174,7 @@ private:
|
||||
int target_size_horiz;
|
||||
int target_size_vert;
|
||||
bool m_gs1parens;
|
||||
bool m_gs1nocheck;
|
||||
bool m_gssep;
|
||||
bool m_reader_init;
|
||||
bool m_debug;
|
||||
|
Reference in New Issue
Block a user