Uranium
Application Framework
|
Convenience class to simplify OS checking and similar platform-specific handling. More...
Public Member Functions | |
def | isOSX (cls) |
Check to see if we are currently running on OSX. More... | |
def | isWindows (cls) |
Check to see if we are currently running on Windows. More... | |
def | isLinux (cls) |
Check to see if we are currently running on Linux. More... | |
def | getType (cls) |
Get the platform type. More... | |
Convenience class to simplify OS checking and similar platform-specific handling.
def UM.Platform.Platform.getType | ( | cls, | |
int | |||
) |
Get the platform type.
def UM.Platform.Platform.isLinux | ( | cls, | |
bool | |||
) |
Check to see if we are currently running on Linux.
def UM.Platform.Platform.isOSX | ( | cls, | |
bool | |||
) |
Check to see if we are currently running on OSX.
def UM.Platform.Platform.isWindows | ( | cls, | |
bool | |||
) |
Check to see if we are currently running on Windows.