Uranium
Application Framework
UM.Platform.Platform Class Reference

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...
 

Detailed Description

Convenience class to simplify OS checking and similar platform-specific handling.

Member Function Documentation

◆ getType()

def UM.Platform.Platform.getType (   cls,
  int 
)

Get the platform type.

◆ isLinux()

def UM.Platform.Platform.isLinux (   cls,
  bool 
)

Check to see if we are currently running on Linux.

◆ isOSX()

def UM.Platform.Platform.isOSX (   cls,
  bool 
)

Check to see if we are currently running on OSX.

◆ isWindows()

def UM.Platform.Platform.isWindows (   cls,
  bool 
)

Check to see if we are currently running on Windows.


The documentation for this class was generated from the following file: