Salome HOME
0023552: Unable to use the contextual menu of Object Browser window
[modules/geom.git] / src / IGESPlugin / IGESPlugin_OperationsCreator.hxx
index fa2eeb0140da5d14dcecb78a170a4dcf072dc3fc..ea3270481ca09839420960ceae25e6e617280f7b 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:
   ~IGESPlugin_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 IGESPlugin_IOperations* get( ::GEOMImpl_Gen*         theGenImpl,
-                                     int                     theStudyId );
+  static IGESPlugin_IOperations* get(::GEOMImpl_Gen* theGenImpl);
 
 private:
-  static std::map <int, IGESPlugin_IOperations*>  _mapOfOperations;
+  static IGESPlugin_IOperations* _operation;
 
   friend class IGESPlugin_IECallBack;
 };