X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSALOMEGUI%2FSALOMEGUI_Swig.hxx;h=f61d26fd0bd39b83c08245c186b2ad7e7f9677a7;hb=788659d329f8451bd9c2197748003d2dd69b2e85;hp=341abca2e47ad128839bbf443fb291cbcbcc13d4;hpb=611c96f1b845f602ce9dbdc154c6fe4425937b9b;p=modules%2Fkernel.git diff --git a/src/SALOMEGUI/SALOMEGUI_Swig.hxx b/src/SALOMEGUI/SALOMEGUI_Swig.hxx index 341abca2e..f61d26fd0 100644 --- a/src/SALOMEGUI/SALOMEGUI_Swig.hxx +++ b/src/SALOMEGUI/SALOMEGUI_Swig.hxx @@ -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_ @@ -19,7 +34,16 @@ #include -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);