StelModule.hpp   StelModule.hpp 
skipping to change at line 63 skipping to change at line 63
// load plugins on windows. // load plugins on windows.
public: public:
StelModule() {;} StelModule() {;}
virtual ~StelModule() {;} virtual ~StelModule() {;}
//! Initialize itself. //! Initialize itself.
//! If the initialization takes significant time, the progress shoul d be displayed on the loading bar. //! If the initialization takes significant time, the progress shoul d be displayed on the loading bar.
virtual void init() = 0; virtual void init() = 0;
//! Called before the module will be delete, and before the openGL c //! Called before the module will be deleted, and before the rendere
ontext is suppressed. r is destroyed.
//! Deinitialize all openGL texture in this method. //! Deinitialize all textures in this method.
virtual void deinit() {;} virtual void deinit() {;}
//! Execute all the drawing functions for this module. //! Execute all the drawing functions for this module.
//! @param core the core to use for the drawing //! @param core the core to use for the drawing
virtual void draw(StelCore* core) {Q_UNUSED(core);} //! @param renderer Renderer to draw with.
virtual void draw(StelCore* core, class StelRenderer* renderer)
{
Q_UNUSED(core);
Q_UNUSED(renderer);
}
//! Iterate through the drawing sequence. //! Iterate through the drawing sequence.
//! This allow us to split the slow drawing operation into small par ts, //! This allow us to split the slow drawing operation into small par ts,
//! we can then decide to pause the painting for this frame and used the cached image instead. //! we can then decide to pause the painting for this frame and used the cached image instead.
//! @return true if we should continue drawing (by calling the metho d again) //! @return true if we should continue drawing (by calling the metho d again)
virtual bool drawPartial(StelCore* core); virtual bool drawPartial(StelCore* core, class StelRenderer* rendere r);
//! Update the module with respect to the time. //! Update the module with respect to the time.
//! @param deltaTime the time increment in second since last call. //! @param deltaTime the time increment in second since last call.
virtual void update(double deltaTime) = 0; virtual void update(double deltaTime) = 0;
//! Get the version of the module, default is stellarium main versio n //! Get the version of the module, default is stellarium main versio n
virtual QString getModuleVersion() const; virtual QString getModuleVersion() const;
//! Get the name of the module author //! Get the name of the module author
virtual QString getAuthorName() const {return "Stellarium's Team";} virtual QString getAuthorName() const {return "Stellarium's Team";}
 End of changes. 3 change blocks. 
6 lines changed or deleted 11 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/