Uranium
Application Framework
 All Classes Namespaces Files Functions Variables Pages
UM.Platform.Platform Class Reference

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

Public Member Functions

def isOSX
 Check to see if we are currently running on OSX. More...
 
def isWindows
 Check to see if we are currently running on Windows. More...
 
def isLinux
 Check to see if we are currently running on Linux. More...
 
def getType
 Get the platform type. More...
 

Detailed Description

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

Member Function Documentation

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.


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