ScriptService.cpp   ScriptService.cpp 
skipping to change at line 27 skipping to change at line 27
* Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA. * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
*/ */
#include "ScriptService.hpp" #include "ScriptService.hpp"
#include "StelApp.hpp" #include "StelApp.hpp"
#include "StelScriptMgr.hpp" #include "StelScriptMgr.hpp"
#include "StelTranslator.hpp" #include "StelTranslator.hpp"
#include <QJsonDocument> #include <QJsonDocument>
#include <QJsonObject>
#include <QJsonArray>
#include <QVariant>
ScriptService::ScriptService(const QByteArray &serviceName, QObject *parent ) : AbstractAPIService(serviceName,parent) ScriptService::ScriptService(const QByteArray &serviceName, QObject *parent ) : AbstractAPIService(serviceName,parent)
{ {
//this is run in the main thread //this is run in the main thread
scriptMgr = &StelApp::getInstance().getScriptMgr(); scriptMgr = &StelApp::getInstance().getScriptMgr();
} }
void ScriptService::getImpl(const QByteArray& operation, const APIParameter s &parameters, APIServiceResponse &response) void ScriptService::getImpl(const QByteArray& operation, const APIParameter s &parameters, APIServiceResponse &response)
{ {
if(operation=="list") if(operation=="list")
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 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/