mirror of
https://github.com/keymanapp/keyman.git
synced 2026-11-03 09:37:47 +00:00
18 lines
254 B
ObjectPascal
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.
|