Harmony
Script Node Documentation
about Class Reference

The about JavaScript global object. Provide information about the main application and the platform on which the script is running. More...

Public Slots

bool isWindowsArch () const
 Query if current platform is Windows. More...
 
bool isLinuxArch () const
 Query if current platform is Linux. More...
 
bool isMacArch () const
 Query if current platform is Mac. More...
 
bool isMacIntelArch () const
 Query if current platform is Mac Intel. More...
 
bool isMacPpcArch () const
 Query if current platform is Mac Power PC. More...
 
String getApplicationPath () const
 Query current application folder. More...
 
String getBinaryPath () const
 Query common binary folder. More...
 
String getResourcesPath () const
 Query common resources folder. More...
 

Properties

bool windowsArch
 Current platform is Windows. More...
 
bool linuxArch
 Current platform is Linux. More...
 
bool macArch
 Current platform is Mac. More...
 
bool macIntelArch
 Current platform is Mac Intel. More...
 
bool macPpcArch
 Current platform is Mac Power PC. More...
 
String applicationPath
 Application with GUI folder (different than binFolder on Mac. Same for all other platforms ). More...
 
String binaryPath
 Common binary folder. More...
 
String resourcesPath
 Common resources folder. More...
 

Detailed Description

The about JavaScript global object. Provide information about the main application and the platform on which the script is running.

The about class allows to query platform and application specific constants.

Member Function Documentation

◆ getApplicationPath

String about::getApplicationPath ( ) const
slot

Query current application folder.

◆ getBinaryPath

String about::getBinaryPath ( ) const
slot

Query common binary folder.

◆ getResourcesPath

String about::getResourcesPath ( ) const
slot

Query common resources folder.

◆ isLinuxArch

bool about::isLinuxArch ( ) const
slot

Query if current platform is Linux.

◆ isMacArch

bool about::isMacArch ( ) const
slot

Query if current platform is Mac.

◆ isMacIntelArch

bool about::isMacIntelArch ( ) const
slot

Query if current platform is Mac Intel.

◆ isMacPpcArch

bool about::isMacPpcArch ( ) const
slot

Query if current platform is Mac Power PC.

◆ isWindowsArch

bool about::isWindowsArch ( ) const
slot

Query if current platform is Windows.

Property Documentation

◆ applicationPath

String about::applicationPath
read

Application with GUI folder (different than binFolder on Mac. Same for all other platforms ).

◆ binaryPath

String about::binaryPath
read

Common binary folder.

◆ linuxArch

bool about::linuxArch
read

Current platform is Linux.

◆ macArch

bool about::macArch
read

Current platform is Mac.

◆ macIntelArch

bool about::macIntelArch
read

Current platform is Mac Intel.

◆ macPpcArch

bool about::macPpcArch
read

Current platform is Mac Power PC.

◆ resourcesPath

String about::resourcesPath
read

Common resources folder.

◆ windowsArch

bool about::windowsArch
read

Current platform is Windows.