X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_Displayer.h;h=dc2df5f8bc70249ad6a52f9d77f1a664a0b61223;hp=e4be5fdde6f986af3645fe24342f8e6aac105049;hb=79b1ac2b6df9117f16f11d444b1f165d477a1813;hpb=81a502af8470190be359d6491a20796dbad5bb97 diff --git a/src/SMESHGUI/SMESHGUI_Displayer.h b/src/SMESHGUI/SMESHGUI_Displayer.h index e4be5fdde..dc2df5f8b 100644 --- a/src/SMESHGUI/SMESHGUI_Displayer.h +++ b/src/SMESHGUI/SMESHGUI_Displayer.h @@ -17,7 +17,7 @@ // 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 // // // @@ -29,20 +29,27 @@ #ifndef SMESHGUI_DISPLAYER_HEADER #define SMESHGUI_DISPLAYER_HEADER +#include "SMESH_SMESHGUI.hxx" + #include +class SalomeApp_Application; class SalomeApp_Study; -class SMESHGUI_Displayer : public LightApp_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