Salome HOME
Fast SSL porting for testbase
[samples/component.git] / src / DivComponent / DivComponent.hxx
index 70f69299f3fabe68e68b6ecf0c86f4490550905f..2e272bec3b7e72ba03f6406ba8ab10fa912c02fa 100644 (file)
@@ -53,7 +53,7 @@ public:
                      PortableServer::POA_ptr poa,
                      PortableServer::ObjectId * contId, 
                      const char *instanceName,
-                      const char *interfaceName);
+                      const char *interfaceName, bool withRegistry);
 
   virtual ~DivComponentEngine();
 
@@ -67,6 +67,24 @@ private:
 
 };
 
+class DIVCOMPONENTENGINE_EXPORT DivComponentEngine_SSL : public DivComponentEngine
+{
+public:
+  DivComponentEngine_SSL( CORBA::ORB_ptr orb,
+                     PortableServer::POA_ptr poa,
+                     PortableServer::ObjectId * contId, 
+                     const char *instanceName, const char *interfaceName):DivComponentEngine(orb,poa,contId,instanceName,interfaceName,false) { }
+};
+
+class DIVCOMPONENTENGINE_EXPORT DivComponentEngine_No_SSL : public DivComponentEngine
+{
+public:
+  DivComponentEngine_No_SSL( CORBA::ORB_ptr orb,
+                     PortableServer::POA_ptr poa,
+                     PortableServer::ObjectId * contId, 
+                     const char *instanceName, const char *interfaceName):DivComponentEngine(orb,poa,contId,instanceName,interfaceName,true) { }
+};
+
 extern "C"
   DIVCOMPONENTENGINE_EXPORT
   PortableServer::ObjectId * DivComponentEngine_factory