Uranium
Application Framework
|
Public Member Functions | |
def | isOSX (cls) |
def | isWindows (cls) |
def | isLinux (cls) |
def | getType (cls) |
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.