Satellites.hpp   Satellites.hpp 
skipping to change at line 96 skipping to change at line 96
}; };
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, class StelRenderer* renderer);
virtual void drawPointer(StelCore* core, StelPainter& painter); virtual void drawPointer(StelCore* core, class StelRenderer* rendere
r);
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 130 skipping to change at line 130
//! @param noradNumber search string in the format "NORAD XXXX". //! @param noradNumber search string in the format "NORAD XXXX".
//! @returns a null pointer if no such satellite is found. //! @returns a null pointer if no such satellite is found.
StelObjectP searchByNoradNumber(const QString& noradNumber) const; StelObjectP searchByNoradNumber(const QString& noradNumber) const;
//! Find and return the list of at most maxNbItem objects auto-compl eting the passed object I18n name. //! Find and return the list of at most maxNbItem objects auto-compl eting the passed object I18n name.
//! @param objPrefix the case insensitive first letters of the searc hed object //! @param objPrefix the case insensitive first letters of the searc hed object
//! @param maxNbItem the maximum number of returned object names //! @param maxNbItem the maximum number of returned object names
//! @return a list of matching object name by order of relevance, or an empty list if nothing match //! @return a list of matching object name by order of relevance, or an empty list if nothing match
virtual QStringList listMatchingObjectsI18n(const QString& objPrefix , int maxNbItem=5) const; virtual QStringList listMatchingObjectsI18n(const QString& objPrefix , int maxNbItem=5) const;
virtual QStringList listAllObjects(bool inEnglish) const;
virtual QString getName() const { return "Satellites"; }
//! Implment this to tell the main Stellarium GUi that there is a GU I element to configure this //! Implment this to tell the main Stellarium GUi that there is a GU I element to configure this
//! plugin. //! plugin.
virtual bool configureGui(bool show=true); virtual bool configureGui(bool show=true);
//! Set up the plugin with default values. This means clearing out the Satellites section in the //! Set up the plugin with default values. This means clearing out the Satellites section in the
//! main config.ini (if one already exists), and populating it with default values. It also //! main config.ini (if one already exists), and populating it with default values. It also
//! creates the default satellites.json file from the resource embed ded in the plugin lib/dll file. //! creates the default satellites.json file from the resource embed ded in the plugin lib/dll file.
void restoreDefaults(void); void restoreDefaults(void);
//! Read (or re-read) settings from the main config file. This will be called from init and also //! Read (or re-read) settings from the main config file. This will be called from init and also
skipping to change at line 300 skipping to change at line 304
bool saveTleMap(const QVariantMap& map, QString path=QString()); bool saveTleMap(const QVariantMap& map, QString path=QString());
QVariantMap loadTleMap(QString path=QString()); QVariantMap loadTleMap(QString path=QString());
void setTleMap(const QVariantMap& map); void setTleMap(const QVariantMap& map);
//! Generates a QMap that contains all the data on satellites. //! Generates a QMap that contains all the data on satellites.
QVariantMap getTleMap(); QVariantMap getTleMap();
QString satellitesJsonPath; QString satellitesJsonPath;
QList<SatelliteP> satellites; QList<SatelliteP> satellites;
LinearFader hintFader; LinearFader hintFader;
StelTextureSP texPointer; class StelTextureNew* hintTexture;
class StelTextureNew* texPointer;
QPixmap* pxmapGlow; QPixmap* pxmapGlow;
QPixmap* pxmapOnIcon; QPixmap* pxmapOnIcon;
QPixmap* pxmapOffIcon; QPixmap* pxmapOffIcon;
StelButton* toolbarButton; StelButton* toolbarButton;
QSharedPointer<Planet> earth; QSharedPointer<Planet> earth;
Vec3f defaultHintColor; Vec3f defaultHintColor;
Vec3f defaultOrbitColor; Vec3f defaultOrbitColor;
QFont labelFont; QFont labelFont;
// variables and functions for the updater // variables and functions for the updater
 End of changes. 3 change blocks. 
3 lines changed or deleted 9 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/