LocationService.hpp   LocationService.hpp 
skipping to change at line 37 skipping to change at line 37
class SolarSystem; class SolarSystem;
//! @ingroup remoteControl //! @ingroup remoteControl
//! Provides methods to look up location-related information, and change th e current location //! Provides methods to look up location-related information, and change th e current location
//! //!
//! @see \ref rcLocationService, LocationService //! @see \ref rcLocationService, LocationService
class LocationService : public AbstractAPIService class LocationService : public AbstractAPIService
{ {
Q_OBJECT Q_OBJECT
public: public:
LocationService(const QByteArray& serviceName, QObject* parent = 0); LocationService(QObject* parent = Q_NULLPTR);
virtual ~LocationService() {} virtual QLatin1String getPath() const Q_DECL_OVERRIDE { return QLati
n1String("location"); }
protected:
//! @brief Implements the HTTP GET requests //! @brief Implements the HTTP GET requests
//! @see \ref rcLocationServiceGET //! @see \ref rcLocationServiceGET
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 requests //! @brief Implements the HTTP POST requests
//! @see \ref rcLocationServicePOST //! @see \ref rcLocationServicePOST
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:
StelCore* core; StelCore* core;
StelLocationMgr* locMgr; StelLocationMgr* locMgr;
SolarSystem* ssys; SolarSystem* ssys;
}; };
#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/