Closed milasudril closed 3 years ago
It is probably a good idea to save that an ImageProcessor was experimental when a document was saved, and issue a warning when loading a document that was created with experimental image processors
Also include Deprecated
state, so it is possible to remove obsolete ImageProcessors. Use of deprecated image processors should also trigger a warning
Checklist:
enum class ReleaseState:int{Experimental, Stable, Deprecated}
static constexpr ReleaseState releaseState()
to ImageProcessor
releaseState
should return Experimental
Stable
, should be visible. Toggle buttons enable Experimental
or Deprecated
.ImageProcessor
s as stableImageProcessor
is Experimental when saving documentsExperimental
ImageProcessor
that was Deprecated
Fixed
Summary
Introduce experimental flag to ImageProcessor that can be used to hide image processors that may change their iterface.
Motivation
When testing a new ImageProcessor, it would be a good idea to mark it as "experimental", so it is possible to change its interface without having the responsibility for breaking existing documents, which may rely on a particular interface.
Proposed solution
static constexpr bool experimental()
toImageProcessor
ImageProcessor
s