X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_Workshop.h;h=d5159189aec9465cd207beae2dd10569b5746560;hb=4fcd5da2d972334e887716499b0ea75d9d6c51c2;hp=dbb6cb60ff6015e8d78449526378978014fb9a58;hpb=32d1a4d19ab1a5d7c172e9660130fcf8ecb1e520;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_Workshop.h b/src/XGUI/XGUI_Workshop.h index dbb6cb60f..d5159189a 100644 --- a/src/XGUI/XGUI_Workshop.h +++ b/src/XGUI/XGUI_Workshop.h @@ -31,6 +31,7 @@ class XGUI_ModuleConnector; class ModuleBase_Operation; class ModuleBase_IModule; +class ModuleBase_IViewer; class Config_FeatureMessage; class Config_PointerMessage; @@ -113,7 +114,7 @@ Q_OBJECT } //! Provides an object which provides interface to Salome Viewer - XGUI_SalomeViewer* salomeViewer() const; + ModuleBase_IViewer* salomeViewer() const; //! Returns true if the application works as SALOME module bool isSalomeMode() const @@ -157,6 +158,8 @@ Q_OBJECT //! Show the given features in 3d Viewer void showOnlyObjects(const QList& theList); + void setDisplayMode(const QList& theList, int theMode); + ModuleBase_IModule* module() const { return myModule;