ScriptService.hpp   ScriptService.hpp 
skipping to change at line 35 skipping to change at line 35
class StelScriptMgr; class StelScriptMgr;
//! @ingroup remoteControl //! @ingroup remoteControl
//! Contains services related to script execution //! Contains services related to script execution
//! //!
//! @see \ref rcScriptService //! @see \ref rcScriptService
class ScriptService : public AbstractAPIService class ScriptService : public AbstractAPIService
{ {
Q_OBJECT Q_OBJECT
public: public:
ScriptService(const QByteArray& serviceName, QObject* parent = 0); ScriptService(QObject* parent = Q_NULLPTR);
virtual ~ScriptService() {} virtual QLatin1String getPath() const Q_DECL_OVERRIDE { return QLati
n1String("scripts"); }
protected:
//! @brief Implements the HTTP GET method //! @brief Implements the HTTP GET method
//! @see \ref rcScriptServiceGET //! @see \ref rcScriptServiceGET
virtual void getImpl(const QByteArray& operation,const APIParameters & parameters, APIServiceResponse& response) Q_DECL_OVERRIDE; virtual void get(const QByteArray& operation,const APIParameters& pa rameters, APIServiceResponse& response) Q_DECL_OVERRIDE;
//! @brief Implements the HTTP POST method //! @brief Implements the HTTP POST method
//! @see \ref rcScriptServicePOST //! @see \ref rcScriptServicePOST
virtual void postImpl(const QByteArray &operation, const APIParamete rs& parameters, const QByteArray &data, APIServiceResponse &response) Q_DEC L_OVERRIDE; virtual void post(const QByteArray &operation, const APIParameters& parameters, const QByteArray &data, APIServiceResponse &response) Q_DECL_OV ERRIDE;
private: private:
StelScriptMgr* scriptMgr; StelScriptMgr* scriptMgr;
}; };
#endif #endif
 End of changes. 4 change blocks. 
6 lines changed or deleted 5 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/