Satellites.hpp   Satellites.hpp 
skipping to change at line 80 skipping to change at line 80
Satellites(); Satellites();
virtual ~Satellites(); virtual ~Satellites();
//////////////////////////////////////////////////////////////////// /////// //////////////////////////////////////////////////////////////////// ///////
// Methods defined in the StelModule class // Methods defined in the StelModule class
virtual void init(); virtual void init();
virtual void deinit(); virtual void deinit();
virtual void update(double deltaTime); virtual void update(double deltaTime);
virtual void draw(StelCore* core); virtual void draw(StelCore* core);
virtual void drawPointer(StelCore* core, StelPainter& painter); virtual void drawPointer(StelCore* core, StelPainter& painter);
virtual void setStelStyle(const QString& section);
virtual double getCallOrder(StelModuleActionName actionName) const; virtual double getCallOrder(StelModuleActionName actionName) const;
//////////////////////////////////////////////////////////////////// /////// //////////////////////////////////////////////////////////////////// ///////
// Methods defined in StelObjectManager class // Methods defined in StelObjectManager class
//! Used to get a list of objects which are near to some position. //! Used to get a list of objects which are near to some position.
//! @param v a vector representing the position in th sky around whi ch to search for nebulae. //! @param v a vector representing the position in th sky around whi ch to search for nebulae.
//! @param limitFov the field of view around the position v in which to search for satellites. //! @param limitFov the field of view around the position v in which to search for satellites.
//! @param core the StelCore to use for computations. //! @param core the StelCore to use for computations.
//! @return an list containing the satellites located inside the lim itFov circle around position v. //! @return an list containing the satellites located inside the lim itFov circle around position v.
virtual QList<StelObjectP> searchAround(const Vec3d& v, double limit Fov, const StelCore* core) const; virtual QList<StelObjectP> searchAround(const Vec3d& v, double limit Fov, const StelCore* core) const;
skipping to change at line 159 skipping to change at line 160
//! Get the current updateState //! Get the current updateState
UpdateState getUpdateState(void) {return updateState;} UpdateState getUpdateState(void) {return updateState;}
//! Get a list of URLs which are sources of TLE data. //! Get a list of URLs which are sources of TLE data.
QStringList getTleSources(void) {return updateUrls;} QStringList getTleSources(void) {return updateUrls;}
//! Set the list of URLs which are sources of TLE data. //! Set the list of URLs which are sources of TLE data.
void setTleSources(QStringList tleSources); void setTleSources(QStringList tleSources);
//! Returns the module-specific style sheet.
//! The main StelStyle instance should be passed.
const StelStyle getModuleStyleSheet(const StelStyle& style);
signals: signals:
//! emitted when the update status changes, e.g. when //! emitted when the update status changes, e.g. when
//! an update starts, completes and so on. Note that //! an update starts, completes and so on. Note that
//! on completion of an update, TleUpdateComplete is also //! on completion of an update, TleUpdateComplete is also
//! emitted with the number of updates done. //! emitted with the number of updates done.
//! @param state the new update state. //! @param state the new update state.
void updateStateChanged(Satellites::UpdateState state); void updateStateChanged(Satellites::UpdateState state);
//! emitted after a TLE update has run. //! emitted after a TLE update has run.
//! @param updates the number of satellites updated. //! @param updates the number of satellites updated.
skipping to change at line 230 skipping to change at line 235
int currentUpdateUrlIdx; int currentUpdateUrlIdx;
int numberDownloadsComplete; int numberDownloadsComplete;
QTimer* updateTimer; QTimer* updateTimer;
bool updatesEnabled; bool updatesEnabled;
QDateTime lastUpdate; QDateTime lastUpdate;
int updateFrequencyHours; int updateFrequencyHours;
void updateFromFiles(void); void updateFromFiles(void);
// GUI // GUI
SatellitesDialog* configDialog; SatellitesDialog* configDialog;
QByteArray normalStyleSheet;
QByteArray nightStyleSheet;
private slots: private slots:
//! check to see if an update is required. This is called periodica lly by a timer //! check to see if an update is required. This is called periodica lly by a timer
//! if the last update was longer than updateFrequencyHours ago then the update is //! if the last update was longer than updateFrequencyHours ago then the update is
//! done. //! done.
void checkForUpdate(void); void checkForUpdate(void);
void updateDownloadComplete(QNetworkReply* reply); void updateDownloadComplete(QNetworkReply* reply);
void observerLocationChanged(StelLocation loc); void observerLocationChanged(StelLocation loc);
}; };
 End of changes. 3 change blocks. 
0 lines changed or deleted 7 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/