spiegel-keyman/windows/src/unit-tests/standards-data/GetOsVersion.pas
2021-09-30 06:23:15 +10:00

18 lines
254 B
ObjectPascal

unit GetOsVersion;
interface
// This is a stub version of GetOsVersion for unit tests
type
TOS = (osLegacy, osVista, osWin7, osWin8, osWin10, osOther);
function GetOs: TOS;
implementation
function GetOs: TOS;
begin
Result := osWin10;
end;
end.