|
wiRedPanda
Logic Circuit Simulator
|
Variables | |
| const QVersionNumber | current = Versions::Rev101 |
File-format revision, independent of the application release version.
Legacy revisions are the multi-segment Versions::V_X_Y constants above: historically they tracked the app version that introduced them, which made log/dialog output ambiguous once the two concepts drifted apart.
New revisions use monotonic single-segment integers starting at 100 (Rev100, Rev101, ...). Picking 100 as the boundary keeps the on-disk encoding (QVersionNumber) unchanged — QVersionNumber(100) compares greater than every legacy Versions::V_X_Y segment-by-segment, so existing readers and version comparisons keep working unmodified.
|
inline |
Definition at line 63 of file Versions.h.
Referenced by WorkSpace::isFromNewerVersion(), WorkSpace::load(), WorkSpace::load(), WorkSpace::save(), Serialization::writeDolphinHeader(), and Serialization::writePandaHeader().