Version's compatibility with Slic3r extended with pre-release

compatibility check:
A release Slic3r is not compatible with alpha and beta configs,
a beta Slic3r is not compatible with alpha configs, but is compatible
with beta configs etc.
This commit is contained in:
bubnikv 2018-04-13 16:15:30 +02:00
parent 82890ec815
commit 6d25ed2b00
3 changed files with 128 additions and 1 deletions

View file

@ -27,7 +27,7 @@ struct Version
// Single comment line.
std::string comment;
bool is_slic3r_supported(const Semver &slicer_version) const { return slicer_version.in_range(min_slic3r_version, max_slic3r_version); }
bool is_slic3r_supported(const Semver &slicer_version) const;
bool is_current_slic3r_supported() const;
};