X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_Displayer.h;h=dc2df5f8bc70249ad6a52f9d77f1a664a0b61223;hb=64c772da5a9dd285f16f1f7efa07bb4c7fbdd4c3;hp=b8458e6c7cf437dcebbc4aab3b91eea074d2e6a0;hpb=40793ae45e14edfdc3aa185537e495f2c905b3c7;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_Displayer.h b/src/SMESHGUI/SMESHGUI_Displayer.h index b8458e6c7..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 +#include "SMESH_SMESHGUI.hxx" +#include + +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