]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/GEOM/geom.cxx
Salome HOME
ENV: Windows porting.
[modules/geom.git] / src / GEOM / geom.cxx
index 81517451aa6606d6cb86ba9d728ca4808ade876c..2c83852120ca92b1c282db789ba106a77c2fccff 100644 (file)
 //  Module : GEOM
 //  $Header$
 
-using namespace std;
-#include "GEOM_Gen_i.hh"
-#include "SALOME_NamingService.hxx"
+#include <Standard_Stream.hxx>
+
+#include <CORBA.h>
+#include <GEOM_Gen_i.hh>
+#include <SALOME_NamingService.hxx>
 
 //==================================================================================
 // function : main()                      MAIN 
@@ -48,7 +50,11 @@ int main(int argc, char** argv)
     // We allocate the objects on the heap.  Since these are reference
     // counted objects, they will be deleted by the POA when they are no
     // longer needed.    
+#ifdef WNT
+    GEOM_Gen_i * myGEOM_Gen_i = new GEOM_Gen_i((CORBA::ORB_ptr)orb, poa, 0, 0, 0 );
+#else
     GEOM_Gen_i * myGEOM_Gen_i = new GEOM_Gen_i(orb);
+#endif
 
     // Activate the objects.  This tells the POA that the objects are
     // ready to accept requests.