Salome HOME
23627: [IMACS] Change group management to have group ID persistent
[plugins/blsurfplugin.git] / src / BLSURFPlugin / BLSURFPlugin_BLSURF_i.cxx
index f3218d998b9226d3caebc929ef77d45d0f62fc41..ea8a9f9d56b4ee638468191b16f81dd86097c679 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2016  CEA/DEN, EDF R&D
 //
 // 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
 //=============================================================================
 
 BLSURFPlugin_BLSURF_i::BLSURFPlugin_BLSURF_i( PortableServer::POA_ptr thePOA,
-                                              int                     theStudyId,
-                                              ::SMESH_Gen*            theGenImpl )
+                                              ::SMESH_Gen*            theGenImpl,
+                                              bool                    theHasGEOM )
      : SALOME::GenericObj_i( thePOA ), 
        SMESH_Hypothesis_i( thePOA ), 
        SMESH_Algo_i( thePOA ),
        SMESH_2D_Algo_i( thePOA )
 {
-  MESSAGE( "BLSURFPlugin_BLSURF_i::BLSURFPlugin_BLSURF_i" );
   myBaseImpl = new ::BLSURFPlugin_BLSURF( theGenImpl->GetANewId(),
-                                          theStudyId,
-                                          theGenImpl );
+                                          theGenImpl,
+                                          theHasGEOM);
 }
 
 //=============================================================================
@@ -60,7 +59,6 @@ BLSURFPlugin_BLSURF_i::BLSURFPlugin_BLSURF_i( PortableServer::POA_ptr thePOA,
 
 BLSURFPlugin_BLSURF_i::~BLSURFPlugin_BLSURF_i()
 {
-  MESSAGE( "BLSURFPlugin_BLSURF_i::~BLSURFPlugin_BLSURF_i" );
 }
 
 //=============================================================================
@@ -73,6 +71,5 @@ BLSURFPlugin_BLSURF_i::~BLSURFPlugin_BLSURF_i()
 
 ::BLSURFPlugin_BLSURF* BLSURFPlugin_BLSURF_i::GetImpl()
 {
-  MESSAGE( "BLSURFPlugin_BLSURF_i::GetImpl" );
   return ( ::BLSURFPlugin_BLSURF* )myBaseImpl;
 }