X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_Tools.h;h=da38e87add14de71a9618366bce4e2670c1f052a;hb=220bd2b37119be1c65abf88a88792445cb9d99f8;hp=b1947fc76e41e6ea70d4ada6bff0282290f2a6eb;hpb=9700ee4c209cbe95d880913867a093a0a3969cf0;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_Tools.h b/src/XGUI/XGUI_Tools.h index b1947fc76..da38e87ad 100644 --- a/src/XGUI/XGUI_Tools.h +++ b/src/XGUI/XGUI_Tools.h @@ -14,6 +14,8 @@ #include class QWidget; +class XGUI_Workshop; +class ModuleBase_IWorkshop; /*! \ingroup GUI @@ -150,6 +152,14 @@ void XGUI_EXPORT refsToFeatureInAllDocuments(const ObjectPtr& theSourceObject, * \returns boolean value */ bool XGUI_EXPORT isSubOfComposite(const ObjectPtr& theObject); + +/*! + Returns converted workshop + \param theWorkshop an interface workshop + \return XGUI workshop instance +*/ +XGUI_EXPORT XGUI_Workshop* workshop(ModuleBase_IWorkshop* theWorkshop); + }; #endif