Salome HOME
Porting SALOME COMPONENT module to win32 platform.
[samples/component.git] / src / AdditionComponent / AdditionComponent_Impl.hxx
index 92d08fb7b0423371d4a24326bb5764b6e83341d1..e9889f6313ce7bb26b050a489e14ac96e21e8b8c 100644 (file)
 #ifndef _ADDITIONINTERFACE_IMPL_HXX_
 #define _ADDITIONINTERFACE_IMPL_HXX_
 
-//#include <iostream.h>
+#include "AdditionComponent.hxx"
 #include <SALOMEconfig.h>
 #include CORBA_SERVER_HEADER(AdditionComponent)
 #include CORBA_SERVER_HEADER(SALOME_Component)
 #include "SALOME_Component_i.hxx"
 
-class AdditionInterface_Impl :  public POA_AdditionComponent::AdditionInterface ,
-                           public Engines_Component_i {
+class ADDITIONCOMPONENTENGINE_EXPORT AdditionInterface_Impl :  public POA_AdditionComponent::AdditionInterface ,
+                                                               public Engines_Component_i {
 public:
   AdditionInterface_Impl() ;
   AdditionInterface_Impl( CORBA::ORB_ptr orb,
@@ -83,6 +83,7 @@ private:
 };
 
 extern "C"
+  ADDITIONCOMPONENTENGINE_EXPORT
   PortableServer::ObjectId * AdditionInterfaceEngine_factory
                                    ( CORBA::ORB_ptr orb ,
                                      PortableServer::POA_ptr poa ,