Salome HOME
This commit was generated by cvs2git to create tag 'V1_3_0'.
[modules/kernel.git] / src / SALOMEGUI / SALOMEGUI_Swig.cxx
index e5df0ffbecb1e95595cb8d8922ca575f694027c1..7103d349a1c6adf0411515b557e821c5301a45a8 100644 (file)
@@ -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.
 */