StelScriptOutput.hpp   StelScriptOutput.hpp 
skipping to change at line 46 skipping to change at line 46
//! Must be called after init() was called. //! Must be called after init() was called.
static void deinit(); static void deinit();
//! Write the message plus a newline to the output file at $USERDIR/ output.txt. //! Write the message plus a newline to the output file at $USERDIR/ output.txt.
//! @param msg message to write. //! @param msg message to write.
static void writeLog(QString msg); static void writeLog(QString msg);
//! Reset file, i.e., empty it. This may be useful to have repetitiv e output which may be read by other programs. //! Reset file, i.e., empty it. This may be useful to have repetitiv e output which may be read by other programs.
static void reset(void); static void reset(void);
//! Save to new file, re-create output file.
//! This allows reading of results on Windows, where otherwise readi
ng programs cannot access files opened for writing by Stellarium.
//! @param name new filename. It will be created in the same directo
ry as output.txt
//! Normally you would call saveOutputAs(...), then reset().
static void saveOutputAs(const QString& name);
private: private:
static QFile outputFile; static QFile outputFile;
static QString outputText; static QString outputText;
}; };
#endif // STELSCRIPTOUTPUT_HPP #endif // STELSCRIPTOUTPUT_HPP
 End of changes. 1 change blocks. 
0 lines changed or deleted 8 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/