X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSALOMEGUI%2FSALOMEGUI_Swig.cxx;h=7103d349a1c6adf0411515b557e821c5301a45a8;hb=b5b44337d62219656650cf2b21108594bbf9adc3;hp=e5df0ffbecb1e95595cb8d8922ca575f694027c1;hpb=102608ce8b69dd1ea798169e30223b67742ec26d;p=modules%2Fkernel.git diff --git a/src/SALOMEGUI/SALOMEGUI_Swig.cxx b/src/SALOMEGUI/SALOMEGUI_Swig.cxx index e5df0ffbe..7103d349a 100644 --- a/src/SALOMEGUI/SALOMEGUI_Swig.cxx +++ b/src/SALOMEGUI/SALOMEGUI_Swig.cxx @@ -121,6 +121,21 @@ const char *SALOMEGUI_Swig::getActiveStudyName() return _name.latin1(); } +/*! + Returns the name of component. +*/ +const char* SALOMEGUI_Swig::getComponentName( const char* ComponentUserName ) +{ + return QAD_Application::getDesktop()->getComponentName( ComponentUserName ); +} +/*! + Returns the user name of component. +*/ +const char* SALOMEGUI_Swig::getComponentUserName( const char* ComponentName ) +{ + return QAD_Application::getDesktop()->getComponentUserName( ComponentName ); +} + /*! Returns the number of selected objects. */