Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/render/sun/SunPlugin.h
Show All 33 Lines | 33 | public: | |||
---|---|---|---|---|---|
34 | SunPlugin(); | 34 | SunPlugin(); | ||
35 | 35 | | |||
36 | explicit SunPlugin( const MarbleModel *marbleModel ); | 36 | explicit SunPlugin( const MarbleModel *marbleModel ); | ||
37 | 37 | | |||
38 | QStringList backendTypes() const; | 38 | QStringList backendTypes() const; | ||
39 | 39 | | |||
40 | QString renderPolicy() const; | 40 | QString renderPolicy() const; | ||
41 | 41 | | |||
42 | QStringList renderPosition() const; | 42 | RenderPositions renderPositions() const override; | ||
43 | 43 | | |||
44 | QString name() const; | 44 | QString name() const; | ||
45 | 45 | | |||
46 | QString guiString() const; | 46 | QString guiString() const; | ||
47 | 47 | | |||
48 | QString nameId() const; | 48 | QString nameId() const; | ||
49 | 49 | | |||
50 | QString version() const; | 50 | QString version() const; | ||
51 | 51 | | |||
52 | QString description() const; | 52 | QString description() const; | ||
53 | 53 | | |||
54 | QString copyrightYears() const; | 54 | QString copyrightYears() const; | ||
55 | 55 | | |||
56 | QVector<PluginAuthor> pluginAuthors() const override; | 56 | QVector<PluginAuthor> pluginAuthors() const override; | ||
57 | 57 | | |||
58 | QIcon icon () const; | 58 | QIcon icon () const; | ||
59 | 59 | | |||
60 | void initialize (); | 60 | void initialize (); | ||
61 | 61 | | |||
62 | bool isInitialized () const; | 62 | bool isInitialized () const; | ||
63 | 63 | | |||
64 | bool render( GeoPainter *painter, ViewportParams *viewport, const QString& renderPos, GeoSceneLayer * layer = 0 ); | 64 | bool render(GeoPainter *painter, ViewportParams *viewport, | ||
65 | RenderPosition renderPos, GeoSceneLayer *layer) override; | ||||
65 | 66 | | |||
66 | private: | 67 | private: | ||
67 | QPixmap m_pixmap; | 68 | QPixmap m_pixmap; | ||
68 | }; | 69 | }; | ||
69 | 70 | | |||
70 | } | 71 | } | ||
71 | 72 | | |||
72 | #endif // MARBLESUNPLUGIN_H | 73 | #endif // MARBLESUNPLUGIN_H |