StelSkyLayer.hpp   StelSkyLayer.hpp 
skipping to change at line 22 skipping to change at line 22
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA. * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
*/ */
#ifndef STELSKYLAYER_HPP #ifndef STELSKYLAYER_HPP
#define STELSKYLAYER_HPP #define STELSKYLAYER_HPP
#include "StelCore.hpp"
#include <QObject> #include <QObject>
#include <QString> #include <QString>
#include <QSharedPointer> #include <QSharedPointer>
#include "StelCore.hpp"
#include "StelProjectorType.hpp"
class StelCore; class StelCore;
class StelPainter;
//! Abstract class defining the API to implement for all sky layer. //! Abstract class defining the API to implement for all sky layer.
//! A sky layer is a graphical layer containing image or polygons displayed in the sky. //! A sky layer is a graphical layer containing image or polygons displayed in the sky.
//! The StelSkyLayerMgr allows to set the display order for layers, as well as opacity. //! The StelSkyImageMgr allows to set the display order for layers, as well as opacity.
class StelSkyLayer : public QObject class StelSkyLayer : public QObject
{ {
Q_OBJECT Q_OBJECT
public: public:
StelSkyLayer(QObject* parent=NULL) : QObject(parent), frameType(Stel Core::FrameUninitialized) {;} StelSkyLayer(QObject* parent=NULL) : QObject(parent), frameType(Stel Core::FrameJ2000) {;}
//! Draws the content of the layer. //! Draws the content of the layer.
virtual void draw(StelCore* core, class StelRenderer* renderer, Stel ProjectorP projector, float opacity=1.)=0; virtual void draw(StelCore* core, StelPainter& sPainter, float opaci ty=1.)=0;
//! Return the short name to display in the loading bar. //! Return the short name to display in the loading bar.
virtual QString getShortName() const =0; virtual QString getShortName() const =0;
//! Return the short server name to display in the loading bar. //! Return the short server name to display in the loading bar.
virtual QString getShortServerCredits() const {return QString();} virtual QString getShortServerCredits() const {return QString();}
//! Return a hint on which key to use for referencing this layer. //! Return a hint on which key to use for referencing this layer.
//! Note that the key effectively used may be different. //! Note that the key effectively used may be different.
virtual QString getKeyHint() const {return getShortName();} virtual QString getKeyHint() const {return getShortName();}
 End of changes. 6 change blocks. 
6 lines changed or deleted 6 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/