// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
//
//
#ifndef SMESHGUI_DISPLAYER_HEADER
#define SMESHGUI_DISPLAYER_HEADER
-#include <SalomeApp_Displayer.h>
+#include "SMESH_SMESHGUI.hxx"
+#include <LightApp_Displayer.h>
+
+class SalomeApp_Application;
class SalomeApp_Study;
-class SMESHGUI_Displayer : public SalomeApp_Displayer
+class SMESHGUI_EXPORT SMESHGUI_Displayer : public LightApp_Displayer
{
public:
- SMESHGUI_Displayer( SalomeApp_Study* );
+ SMESHGUI_Displayer( SalomeApp_Application* );
~SMESHGUI_Displayer();
virtual SALOME_Prs* buildPresentation( const QString&, SALOME_View* = 0 );
+ virtual bool canBeDisplayed( const QString& /*entry*/, const QString& /*viewer_type*/ ) const;
+
+protected:
+ SalomeApp_Study* study() const;
private:
- SalomeApp_Study* myStudy;
+ SalomeApp_Application* myApp;
};
#endif