--- a/Globals/__init__.py Fri Mar 11 08:55:14 2011 +0100 +++ b/Globals/__init__.py Fri Mar 11 16:51:57 2011 +0100 @@ -20,6 +20,7 @@ recentNameFiles = "Files" recentNameHosts = "Hosts" + def isWindowsPlatform(): """ Function to check, if this is a Windows platform. @@ -28,6 +29,7 @@ """ return sys.platform.startswith("win") + def isMacPlatform(): """ Function to check, if this is a Mac platform. @@ -36,6 +38,7 @@ """ return sys.platform == "darwin" + def isLinuxPlatform(): """ Function to check, if this is a Linux platform.