Salome HOME
Fast SSL porting for testbase
[samples/component.git] / src / SubComponent / SubComponent.hxx
index ff090c40765cb124c7f5b98e12a4ef33e77bfece..1553df3a19132f3b2158b6aa0a60d9d952d64b59 100644 (file)
@@ -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