Commit c388e683 authored by Frédéric Larue's avatar Frédéric Larue

getViewer() function of DisplayableInterface set public.

parent a3fe0617
......@@ -49,9 +49,6 @@ private:
}
protected:
/** Recover the current viewer to which this Displayable is associated. */
inline GLViewer* getViewer() const { return m_Viewer; }
inline QString getResourceContent( const QString &resourceName ) const
{
QString content;
......@@ -102,6 +99,8 @@ public:
inline DisplayableInterface( GenericUIData *m, GLViewer *v ) : QObject(), m_Data(m), m_Viewer(v), m_IsAnimationPaused(false) {}
virtual ~DisplayableInterface() {}
/** Recover the current viewer to which this Displayable is associated. */
inline GLViewer* getViewer() const { return m_Viewer; }
/** Recover the source data from which this Displayable has been created. */
inline GenericUIData* getSource() const { return m_Data; }
/** Recover the current state of the set of display parameters. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment