mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-18 02:17:06 +00: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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user