X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSubComponent%2FSubComponent.hxx;fp=src%2FSubComponent%2FSubComponent.hxx;h=1553df3a19132f3b2158b6aa0a60d9d952d64b59;hb=12aed9bce9883a0fc8db8a3f0afdb9c8fe286ed8;hp=ff090c40765cb124c7f5b98e12a4ef33e77bfece;hpb=ee1db5c69aeb2d603fe42b51f0c7b2279e47e862;p=samples%2Fcomponent.git diff --git a/src/SubComponent/SubComponent.hxx b/src/SubComponent/SubComponent.hxx index ff090c4..1553df3 100644 --- a/src/SubComponent/SubComponent.hxx +++ b/src/SubComponent/SubComponent.hxx @@ -52,7 +52,7 @@ public: PortableServer::POA_ptr poa, PortableServer::ObjectId * contId, const char *instanceName, - const char *interfaceName); + const char *interfaceName, bool withRegistry); virtual ~SubComponentEngine(); @@ -66,6 +66,26 @@ private: }; +class SUBCOMPONENTENGINE_EXPORT SubComponentEngine_SSL : public SubComponentEngine +{ +public: + SubComponentEngine_SSL(CORBA::ORB_ptr orb, + PortableServer::POA_ptr poa, + PortableServer::ObjectId * contId, + const char *instanceName, + const char *interfaceName):SubComponentEngine(orb,poa,contId,instanceName,interfaceName,false) { } +}; + +class SUBCOMPONENTENGINE_EXPORT SubComponentEngine_No_SSL : public SubComponentEngine +{ +public: + SubComponentEngine_No_SSL(CORBA::ORB_ptr orb, + PortableServer::POA_ptr poa, + PortableServer::ObjectId * contId, + const char *instanceName, + const char *interfaceName):SubComponentEngine(orb,poa,contId,instanceName,interfaceName,true) { } +}; + extern "C" SUBCOMPONENTENGINE_EXPORT PortableServer::ObjectId * SubComponentEngine_factory