SimbadService.hpp   SimbadService.hpp 
skipping to change at line 37 skipping to change at line 37
//! @ingroup remoteControl //! @ingroup remoteControl
//! Allows SIMBAD object lookups like SearchDialog uses. //! Allows SIMBAD object lookups like SearchDialog uses.
//! //!
//! @see \ref rcSimbadService //! @see \ref rcSimbadService
//! @note This service supports threaded operation. //! @note This service supports threaded operation.
class SimbadService : public AbstractAPIService class SimbadService : public AbstractAPIService
{ {
Q_OBJECT Q_OBJECT
public: public:
SimbadService(const QByteArray& serviceName, QObject* parent = 0); SimbadService(QObject* parent = Q_NULLPTR);
virtual ~SimbadService() {}
//! Simbad lookups dont block the main thread //! Simbad lookups dont block the main thread
bool supportsThreadedOperation() const Q_DECL_OVERRIDE { return true virtual bool isThreadSafe() const Q_DECL_OVERRIDE { return true; }
; } virtual QLatin1String getPath() const Q_DECL_OVERRIDE { return QLati
protected: n1String("simbad"); }
//! @brief Implements the HTTP GET method //! @brief Implements the HTTP GET method
//! @see \ref rcSimbadServiceGET //! @see \ref rcSimbadServiceGET
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;
private: private:
QString simbadServerUrl; QString simbadServerUrl;
}; };
#endif #endif
 End of changes. 3 change blocks. 
7 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/