Salome HOME
PR: mergefrom_PAL_OCC_21Oct04
[modules/kernel.git] / src / SALOMEGUI / SALOMEGUI_Swig.hxx
index 341abca2e47ad128839bbf443fb291cbcbcc13d4..f61d26fd0bd39b83c08245c186b2ad7e7f9677a7 100644 (file)
@@ -1,15 +1,30 @@
-//=============================================================================
-// File      : SALOMEGUI_Swig.hxx
-// Created   : ven oct 12 15:44:16 CEST 2001
-// Author    : Paul RASCLE, EDF
-// Project   : SALOME
-// Copyright : EDF 2001
-
-// Modified  : Mon Jul 29 21:38:07 2002
-// Author    : Nicolas REJNERI
-// Copyright : OPEN CASCADE 2002
-// $Header$
-//=============================================================================
+//  SALOME SALOMEGUI : implementation of desktop and GUI kernel
+//
+//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
+// 
+//  This library is free software; you can redistribute it and/or 
+//  modify it under the terms of the GNU Lesser General Public 
+//  License as published by the Free Software Foundation; either 
+//  version 2.1 of the License. 
+// 
+//  This library is distributed in the hope that it will be useful, 
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of 
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+//  Lesser General Public License for more details. 
+// 
+//  You should have received a copy of the GNU Lesser General Public 
+//  License along with this library; if not, write to the Free Software 
+//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
+// 
+//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+//
+//
+//
+//  File   : SALOMEGUI_Swig.hxx
+//  Author : Nicolas REJNERI
+//  Module : SALOME
+//  $Header$
 
 #ifndef _SALOMEGUI_SWIG_HXX_
 #define _SALOMEGUI_SWIG_HXX_
 
 #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
 {
@@ -27,15 +51,14 @@ public:
   SALOMEGUI_Swig();
   ~SALOMEGUI_Swig();
 
-  static vtkRenderer* getRenderer(int viewId = -1);
-
-  void        updateObjBrowser( bool updateSelection );
-  int         getActiveStudyId();
-  const char* getActiveStudyName();
+  void         updateObjBrowser( bool updateSelection );
+  QAD_Study*   getActiveStudy();
+  int          getActiveStudyId();
+  const char*  getActiveStudyName();
 
 /* selection */
-  int         SelectedCount();
-  const char* getSelected(int i);
+  int          SelectedCount();
+  const char*  getSelected(int i);
 
   void AddIObject(const char *Entry);
   void RemoveIObject(const char *Entry);