# HG changeset patch # User Claus Gittinger # Date 1558522538 -7200 # Node ID e3c41bf36fa15bb24cafd08c7cc7af8e8c468bf3 # Parent 5f68a36cc2d3a013ef7c3c2549393c7aa6bdecd7 #BUGFIX by cg class: AbstractOperatingSystem class missing queries added: #isVistaLike #isWin10Like #isWin7Like #isWin8Like diff -r 5f68a36cc2d3 -r e3c41bf36fa1 AbstractOperatingSystem.st --- a/AbstractOperatingSystem.st Wed May 22 03:26:27 2019 +0000 +++ b/AbstractOperatingSystem.st Wed May 22 12:55:38 2019 +0200 @@ -5028,6 +5028,41 @@ ^ false ! +isVistaLike + "return true, if running on a Vista (or newer) like system. + (also true for server 2008)" + + ^ false + + "Created: / 22-05-2019 / 12:54:03 / Claus Gittinger" +! + +isWin10Like + "return true, if running on a Windows10 (or newer) like system. + (also true for server 2016)" + + ^ false + + "Created: / 22-05-2019 / 12:53:54 / Claus Gittinger" +! + +isWin7Like + "return true, if running on a Windows7 (or newer) like system." + + ^ false + + "Created: / 22-05-2019 / 12:53:42 / Claus Gittinger" +! + +isWin8Like + "return true, if running on a Windows8 (or newer) like system. + (also true for server 2012)" + + ^ false + + "Created: / 22-05-2019 / 12:53:13 / Claus Gittinger" +! + knownPlatformNames "return a collection of strings as possibly returned by getPlatformName. Should be used instead of getOSType or getSystemType if multiple choice