diff --git a/Interfaces/DisplayableInterface.h b/Interfaces/DisplayableInterface.h index 29937a8200341fef823dd11a89832b5e7cb283a2..e3554d65a3e6a68530411df11cf2d8d3f77549dd 100644 --- a/Interfaces/DisplayableInterface.h +++ b/Interfaces/DisplayableInterface.h @@ -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. */