StelScriptMgr.hpp   StelScriptMgr.hpp 
skipping to change at line 49 skipping to change at line 49
{ {
Q_OBJECT Q_OBJECT
Q_PROPERTY(QString runningScriptId READ runningScriptId NOTIFY runni ngScriptIdChanged) Q_PROPERTY(QString runningScriptId READ runningScriptId NOTIFY runni ngScriptIdChanged)
#ifdef ENABLE_SCRIPT_CONSOLE #ifdef ENABLE_SCRIPT_CONSOLE
friend class ScriptConsole; friend class ScriptConsole;
#endif #endif
public: public:
StelScriptMgr(QObject *parent=0); StelScriptMgr(QObject *parent=Q_NULLPTR);
~StelScriptMgr(); ~StelScriptMgr();
QStringList getScriptList(); QStringList getScriptList();
//! Find out if a script is running //! Find out if a script is running
//! @return true if a script is running, else false //! @return true if a script is running, else false
bool scriptIsRunning(); bool scriptIsRunning();
//! Get the ID (usually filename) of the currently running script //! Get the ID (usually filename) of the currently running script
//! @return Empty string if no script is running, else the //! @return Empty string if no script is running, else the
//! ID of the script which is running. //! ID of the script which is running.
skipping to change at line 103 skipping to change at line 103
QString getAuthor(const QString& s) const; QString getAuthor(const QString& s) const;
//! Gets the licensing terms for the script //! Gets the licensing terms for the script
//! @param s the file name of the script whose name is to be returne d. //! @param s the file name of the script whose name is to be returne d.
//! @return text following a comment with License: at the start. If no //! @return text following a comment with License: at the start. If no
//! such comment is found, "" is returned. If the file //! such comment is found, "" is returned. If the file
//! is not found or cannot be opened for some reason, an Empty strin g //! is not found or cannot be opened for some reason, an Empty strin g
//! will be returned. //! will be returned.
QString getLicense(const QString& s) const; QString getLicense(const QString& s) const;
//! Gets the version of the script
//! @param s the file name of the script whose name is to be returne
d.
//! @return text following a comment with Version: at the start. If
no
//! such comment is found, "" is returned. If the file
//! is not found or cannot be opened for some reason, an Empty strin
g
//! will be returned.
QString getVersion(const QString& s) const;
//! Gets a description of the script. //! Gets a description of the script.
//! @param s the file name of the script whose name is to be returne d. //! @param s the file name of the script whose name is to be returne d.
//! @return text following a comment with Description: at the start. //! @return text following a comment with Description: at the start.
//! The description is considered to be over when a line with no com ment //! The description is considered to be over when a line with no com ment
//! is found. If no such comment is found, QString("") is returned. //! is found. If no such comment is found, QString("") is returned.
//! If the file is not found or cannot be opened for some reason, an //! If the file is not found or cannot be opened for some reason, an
//! Empty string will be returned. //! Empty string will be returned.
QString getDescription(const QString& s) const; QString getDescription(const QString& s) const;
//! Gets the default shortcut of the script. //! Gets the default shortcut of the script.
 End of changes. 2 change blocks. 
1 lines changed or deleted 12 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/