Salome HOME
Moved some functionality to VTKViewer_Utilities.h
[modules/kernel.git] / src / SALOMEGUI / SALOMEGUI_Swig.hxx
index 5c0875d66d2980b2b213c82a015f503da4ba19ed..967c0937727d5023aa4e482ef637fd7a9c3ac770 100644 (file)
 
 #include <Standard.hxx>
 
-class vtkRenderer;
+#include "SALOME_InteractiveObject.hxx"
+
 class QAD_Study;
+class QAD_ViewFrame;
+
+namespace SALOME{
+  QAD_ViewFrame* GetViewFrame(QAD_Study* theStudy);
+  Handle(SALOME_InteractiveObject) FindIObject(QAD_Study* theStudy, const char *theEntry);
+}
+
 
 class SALOMEGUI_Swig
 {
@@ -43,8 +51,7 @@ public:
   SALOMEGUI_Swig();
   ~SALOMEGUI_Swig();
 
-  //san:T3.13 - move getRenderer() implementation from here to SalomePy.cxx
-  //static vtkRenderer* getRenderer(int viewId = -1);
+  bool hasDesktop();
 
   void         updateObjBrowser( bool updateSelection );
   QAD_Study*   getActiveStudy();
@@ -68,6 +75,14 @@ public:
 
 /* check */
   bool IsInCurrentView(const char *Entry);
+
+/* component name */
+  const char* getComponentName( const char* ComponentUserName );
+  const char* getComponentUserName( const char* ComponentName );
+
+protected:
+  int _studyId;
+  QString _name;
 };