We need to have it in both, because it needs to be changed by the inheriting definitions (so it needs to be defined in fdmextruder) but it also needs to be defined for single-extrusion printers (so it needs to be in fdmprinter). I copied these definitions from fdmprinter.
Contributes to issue CURA-1816.
It's an enum after all, and the front-end doesn't work well with enums that are ints. The code for the back-end should remain the same.
Contributes to issue CURA-1716.
This setting is not defined in this definition so it can't find the value of it here. I've re-introduced the maximum_value statically in the Jedi implementations of this setting.
Contributes to issue CURA-1278 and CURA-351.