StelScriptMgr.hpp   StelScriptMgr.hpp 
skipping to change at line 139 skipping to change at line 139
//! Note that this is not the same as the rate at which simulation t ime passes //! Note that this is not the same as the rate at which simulation t ime passes
//! because the script running at normal rate might set the simulati on time rate //! because the script running at normal rate might set the simulati on time rate
//! to be non-real time. //! to be non-real time.
//! @param r rate, e.g. 2.0 = script runs at twice the normal rate //! @param r rate, e.g. 2.0 = script runs at twice the normal rate
void setScriptRate(float r); void setScriptRate(float r);
//! Get the rate at which the script is running as a multiple of the normal //! Get the rate at which the script is running as a multiple of the normal
//! execution rate. //! execution rate.
double getScriptRate(); double getScriptRate();
//! cause the emission of the scriptDebug signal. This is so that f unctions in //! cause the emission of the scriptDebug signal. This is so that fu nctions in
//! StelMainScriptAPI can explicitly send information to the ScriptC onsole //! StelMainScriptAPI can explicitly send information to the ScriptC onsole
void debug(const QString& msg); void debug(const QString& msg);
//! cause the emission of the scriptOutput signal. This is so that f
unctions in
//! StelMainScriptAPI can explicitly send information to the ScriptC
onsole
void output(const QString& msg);
//! Pause a running script. //! Pause a running script.
void pauseScript(); void pauseScript();
//! Resume a paused script. //! Resume a paused script.
void resumeScript(); void resumeScript();
private slots: private slots:
//! Called at the end of the running threa //! Called at the end of the running threa
void scriptEnded(); void scriptEnded();
signals: signals:
//! Notification when a script starts running //! Notification when a script starts running
void scriptRunning(); void scriptRunning();
//! Notification when a script has stopped running //! Notification when a script has stopped running
void scriptStopped(); void scriptStopped();
//! Notification of a script event - warnings, current execution lin e etc. //! Notification of a script event - warnings, current execution lin e etc.
void scriptDebug(const QString&); void scriptDebug(const QString&);
//! Notification of a script event - output line.
void scriptOutput(const QString&);
private: private:
// Utility functions for preprocessor // Utility functions for preprocessor
QMap<QString, QString> mappify(const QStringList& args, bool lowerKe y=false); QMap<QString, QString> mappify(const QStringList& args, bool lowerKe y=false);
bool strToBool(const QString& str); bool strToBool(const QString& str);
//! Generate one StelAction per script. //! Generate one StelAction per script.
//! The name of the action is of the form: "actionScript/<script-pat h>" //! The name of the action is of the form: "actionScript/<script-pat h>"
void initActions(); void initActions();
 End of changes. 3 change blocks. 
1 lines changed or deleted 9 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/