Salome HOME
This commit was generated by cvs2git to track changes on a CVS vendor
[modules/kernel.git] / src / SALOMEGUI / SALOMEGUI_Swig.hxx
index a3e6fd95112b522126216c4a24a1dedfb2314d4c..0af5330a197e01a326078d4902d740e071661aa3 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_
@@ -20,6 +35,7 @@
 #include <Standard.hxx>
 
 class vtkRenderer;
+class QAD_Study;
 
 class SALOMEGUI_Swig
 {
@@ -27,15 +43,17 @@ public:
   SALOMEGUI_Swig();
   ~SALOMEGUI_Swig();
 
-  static vtkRenderer* getRenderer(int viewId = -1);
+  //san:T3.13 - move getRenderer() implementation from here to SalomePy.cxx
+  //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);
@@ -51,6 +69,10 @@ 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;