Salome HOME
This commit was generated by cvs2git to create branch 'CCAR_br1'.
[modules/kernel.git] / src / SALOMEGUI / SALOMEGUI_Swig.cxx
index c97025c01d10d9bc91a166b9deae8f5b259fb02b..86b711edff8bfa8875af4b11ce17d730fa6c1c29 100644 (file)
@@ -79,6 +79,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.
 */