X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fgeom.git;a=blobdiff_plain;f=src%2FGEOM_I_Superv%2FGEOM_Superv_i.hh;h=e2ea56e97e723215e7f13c8346e565e315a3af54;hp=07ef5847c60426acd7fb42d0b73b952df2d96759;hb=f504886648123025044d18c0f00d4816cee797be;hpb=807a056cd815fb5ebde22d63d55becb1670efd7d diff --git a/src/GEOM_I_Superv/GEOM_Superv_i.hh b/src/GEOM_I_Superv/GEOM_Superv_i.hh index 07ef5847c..e2ea56e97 100644 --- a/src/GEOM_I_Superv/GEOM_Superv_i.hh +++ b/src/GEOM_I_Superv/GEOM_Superv_i.hh @@ -52,7 +52,8 @@ public: PortableServer::POA_ptr poa, PortableServer::ObjectId * contId, const char *instanceName, - const char *interfaceName); + const char *interfaceName, bool withRegistry, + SALOME_NamingService_Abstract *my_name_service); ~GEOM_Superv_i(); // generic method to be put in a super class @@ -781,8 +782,9 @@ public: GEOM::GEOM_Object_ptr MakeSmoothingSurface (GEOM::GEOM_List_ptr thelPoints); /*@@ insert new functions before this line @@ do not remove this line @@*/ +protected: + SALOME_NamingService_Abstract * name_service = nullptr; private: - SALOME_NamingService * name_service; GEOM::GEOM_Gen_var myGeomEngine; PortableServer::POA_var myPOA; @@ -807,4 +809,25 @@ private: #endif }; +class GEOM_I_SUPERV_EXPORT GEOM_Superv_i_With_Session : public GEOM_Superv_i +{ +public: + GEOM_Superv_i_With_Session(CORBA::ORB_ptr orb, + PortableServer::POA_ptr poa, + PortableServer::ObjectId * contId, + const char *instanceName, + const char *interfaceName); +}; + +class GEOM_I_SUPERV_EXPORT GEOM_Superv_i_Without_Session : public GEOM_Superv_i +{ +public: + GEOM_Superv_i_Without_Session(CORBA::ORB_ptr orb, + PortableServer::POA_ptr poa, + PortableServer::ObjectId * contId, + const char *instanceName, + const char *interfaceName, + SALOME_NamingService_Abstract *my_name_service); +}; + #endif