Salome HOME
Merge multi-study removal branch.
[modules/geom.git] / src / BREPPlugin / BREPPlugin_OperationsCreator.hxx
index 6870144363ac7b5d2b4f05d3cbd4efad0629a735..e49c6cb533b769b914a7815c0aaef0e0f9aaf0d2 100755 (executable)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2016  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
@@ -41,15 +41,13 @@ public:
   ~BREPPlugin_OperationsCreator();
 
   GEOM_IOperations_i* Create( PortableServer::POA_ptr thePOA,
-                             int                     theStudyId,
-                             GEOM::GEOM_Gen_ptr      theEngine,
-                             ::GEOMImpl_Gen*         theGenImpl );
+                                         GEOM::GEOM_Gen_ptr      theEngine,
+                                         ::GEOMImpl_Gen*         theGenImpl );
 private:
-  static BREPPlugin_IOperations* get( ::GEOMImpl_Gen*         theGenImpl,
-                                     int                     theStudyId );
+  static BREPPlugin_IOperations* get(::GEOMImpl_Gen* theGenImpl);
 
 private:
-  static std::map <int, BREPPlugin_IOperations*>  _mapOfOperations;
+  static BREPPlugin_IOperations* _operation;
 
   friend class BREPPlugin_IECallBack;
 };