Salome HOME
Fast SSL porting for testbase
[samples/component.git] / src / AddComponent / AddComponent_Impl.hxx
index 163aff19d5300cbef445e5e9f889e5479736cecf..94e5481332eddadafcb185027c92a956f724d807 100644 (file)
@@ -44,7 +44,7 @@ public:
                     PortableServer::POA_ptr poa,
                     PortableServer::ObjectId * contId, 
                     const char *instanceName,
-                     const char *interfaceName);
+                     const char *interfaceName, bool withRegistry);
 
   virtual ~AddComponent_Impl();
 
@@ -83,6 +83,26 @@ private:
 
 };
 
+class ADDCOMPONENTENGINE_EXPORT AddComponent_Impl_SSL : public AddComponent_Impl
+{
+public:
+  AddComponent_Impl_SSL( CORBA::ORB_ptr orb,
+                    PortableServer::POA_ptr poa,
+                    PortableServer::ObjectId * contId, 
+                    const char *instanceName,
+         const char *interfaceName):AddComponent_Impl(orb,poa,contId,instanceName,interfaceName,false) { }
+};
+
+class ADDCOMPONENTENGINE_EXPORT AddComponent_Impl_No_SSL : public AddComponent_Impl
+{
+public:
+  AddComponent_Impl_No_SSL( CORBA::ORB_ptr orb,
+                    PortableServer::POA_ptr poa,
+                    PortableServer::ObjectId * contId, 
+                    const char *instanceName,
+         const char *interfaceName):AddComponent_Impl(orb,poa,contId,instanceName,interfaceName,true) { }
+};
+
 extern "C"
   ADDCOMPONENTENGINE_EXPORT
   PortableServer::ObjectId * AddComponentEngine_factory