// 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
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
//
//
#include "SMESHGUI_Swig.hxx"
%}
+/* Exception handler for all functions */
+%exception {
+ Py_BEGIN_ALLOW_THREADS
+ $action
+ Py_END_ALLOW_THREADS
+}
+
%include "typemaps.i"
-class SMESHGUI_Swig
+class SMESH_Swig
{
public:
- SMESHGUI_Swig();
- ~SMESHGUI_Swig();
+ SMESH_Swig();
+ ~SMESH_Swig();
void Init(int studyID);
const char* AddSubMeshOnShape (const char* Mesh_Entry, const char* GeomShape_Entry, const char* SM_IOR, int ST);
void SetName(const char* Entry, const char* Name);
+
+ void SetMeshIcon(const char* Mesh_Entry, const bool isComputed);
};