X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSALOME_SWIG%2FSALOMEGUI_Swig.i;h=472412ef4f8d1b5d01188a24dfcf3de43233a441;hb=b6e35aa42d3c67a529d7f9339718dfaed6891323;hp=10631d8810232ab643ce9b2dd737a515e7924bd2;hpb=26ac7ca874ce9a796ff7ad43685f42afca635df9;p=modules%2Fgui.git diff --git a/src/SALOME_SWIG/SALOMEGUI_Swig.i b/src/SALOME_SWIG/SALOMEGUI_Swig.i index 10631d881..472412ef4 100644 --- a/src/SALOME_SWIG/SALOMEGUI_Swig.i +++ b/src/SALOME_SWIG/SALOMEGUI_Swig.i @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -29,6 +29,12 @@ %} %include "cpointer.i" +%include "std_string.i" +%include "std_list.i" + +#if SWIG_VERSION >= 0x010329 +%template() std::list; +#endif /* Exception handler for all functions */ %exception { @@ -57,10 +63,9 @@ public: bool hasDesktop(); /* update object browser*/ - void updateObjBrowser(bool); + void updateObjBrowser(); /* get active study */ - int getActiveStudyId(); const char *getActiveStudyName(); /* get component name/username */ @@ -85,6 +90,8 @@ public: /* view operations */ void FitAll(); + void FitSelection(); + void FitIObjects(const std::list&); void ResetView(); void ViewTop(); void ViewBottom();