-//=============================================================================
-// 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;
+class QAD_Study;
class SALOMEGUI_Swig
{
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);
/* 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;