X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FStdMeshersGUI%2FStdMeshersGUI_SubShapeSelectorWdg.h;h=7793817be8419c5a208e519dcf66c7eaac8dfb1d;hp=6d3cbbe7d14963fce6b52578394c7a606ac44eeb;hb=a0f09b9f1b8f5eac0e1c9277f76d65eb643cac94;hpb=bd4e115a78b52e3fbc016e5e30bb0e19b2a9e7d6 diff --git a/src/StdMeshersGUI/StdMeshersGUI_SubShapeSelectorWdg.h b/src/StdMeshersGUI/StdMeshersGUI_SubShapeSelectorWdg.h index 6d3cbbe7d..7793817be 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_SubShapeSelectorWdg.h +++ b/src/StdMeshersGUI/StdMeshersGUI_SubShapeSelectorWdg.h @@ -1,9 +1,9 @@ -// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE // // 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. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -58,7 +58,7 @@ public: ~StdMeshersGUI_SubShapeSelectorWdg(); SMESH::long_array_var GetListOfIDs(); - void SetListOfIDs( SMESH::long_array_var ); + bool SetListOfIDs( SMESH::long_array_var ); void SetGeomShapeEntry( const QString& theEntry ); const char* GetGeomShapeEntry() { return myEntry.toLatin1().data();} @@ -69,7 +69,8 @@ public: TopoDS_Shape GetGeomShape() { return myGeomShape; } TopoDS_Shape GetMainShape() { return myMainShape; } - QList GetCorrectedListOfIDs( bool fromSubshapeToMainshape = true ); + QList GetCorrectedListOfIDs( bool fromSubshapeToMainshape, + bool* isOK=0); static GEOM::GEOM_Object_var GetGeomObjectByEntry( const QString& ); static TopoDS_Shape GetTopoDSByEntry( const QString& );