Script TheSky  Version 1.32
Public Types | Properties | List of all members
Application Class Reference

TheSky Application object. More...

Inheritance diagram for Application:

Public Types

enum  operatingSystem { osUnknown =0, osWindows =1, osMac =2, osLinux =3 }
 The operating system enumeration. More...
 

Properties

QString version
 Returns the version of TheSky as a string. More...
 
QString build
 Returns the build of TheSky as a string. More...
 
bool initialized
 Returns true (non-zero) if TheSky is initialized, otherwise returns false. More...
 
operatingSystem operatingSystem
 Returns which operating system TheSky is being run under. More...
 

Detailed Description

TheSky Application object.

TheSky Application object has various methods an properties to manipulate TheSky.

Member Enumeration Documentation

◆ operatingSystem

The operating system enumeration.

Enumerator
osUnknown 

TheSky is being run under an unknown operating system.

osWindows 

TheSky is being run under the Microsoft Windows operating system.

osMac 

TheSky is being run under the Mac operating system.

osLinux 

TheSky is being run under the Linux operating system.

Property Documentation

◆ build

QString Application::build
read

Returns the build of TheSky as a string.

The build number is increased by one with every committed change to TheSky's source code (by any developer).

Objects or methods may perodically be added to TheSky and when they are the build number is provided in the documentation for the object or method. If your application requires one or more of these build specific objects or methods, you can use the Application::build to react by either requiring a certian minimum build or gracefully degrading functionality.

◆ initialized

bool Application::initialized
read

Returns true (non-zero) if TheSky is initialized, otherwise returns false.

When TheSky is launched, some initialization happens asynchronously and this property allows clients to wait until every aspect of TheSky is initailized.

◆ operatingSystem

Returns which operating system TheSky is being run under.

The property is helpful when making scripts that do file io. It allows the script to make file paths specfic to the operating system.

◆ version

QString Application::version
read

Returns the version of TheSky as a string.

An example is 10.1.10.

ScriptTheSkyX Examples
(C) Software Bisque, Inc. All rights reserved.