Skip to content

Commit 11e28e3

Browse files
committed
Made supported version consts public
1 parent 55a1501 commit 11e28e3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Src/SWAG.UVersion.pas

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ interface
3131
TSWAGVersion = class(TNoPublicConstructObject)
3232
strict private
3333
const
34-
/// <summary>First supported SWAG version.</summary>
35-
LowestSupportedVersion: TVersionNumber = (V1: 1; V2: 0; V3: 0; V4: 0);
36-
/// <summary>Lowest SWAG version that is NOT supported.</summary>
37-
LowestUnSupportedVersion: TVersionNumber = (V1: 1; V2: 1; V3: 0; V4: 0);
3834
/// <summary>SWAG version file name, without path.</summary>
3935
SWAGVersionFileName = 'VERSION';
4036
var
@@ -59,6 +55,11 @@ TSWAGVersion = class(TNoPublicConstructObject)
5955
/// should be located.</param>
6056
constructor InternalCreate(const SWAGDir: TFileName);
6157
public
58+
const
59+
/// <summary>First supported SWAG version.</summary>
60+
LowestSupportedVersion: TVersionNumber = (V1: 1; V2: 0; V3: 0; V4: 0);
61+
/// <summary>Lowest SWAG version that is NOT supported.</summary>
62+
LowestUnSupportedVersion: TVersionNumber = (V1: 1; V2: 1; V3: 0; V4: 0);
6263
/// <summary>Validates the version file. Returns normally if there are no
6364
/// errors or raises an exception if an error is found.</summary>
6465
/// <param name="SWAGDir">TFileName [in] Directory where version file

0 commit comments

Comments
 (0)