X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGEOM%2Fgeom.cxx;h=8ac0deb96856dab8a520f005ee8772838296fd50;hb=cb4b4dddf0e220d97fc161211b3bf5b706e93264;hp=37707e72030b865356669993ee5b486a630c0c1d;hpb=46fb51231345bb027081f198d3db8daccbc2ae2f;p=modules%2Fgeom.git diff --git a/src/GEOM/geom.cxx b/src/GEOM/geom.cxx index 37707e720..8ac0deb96 100644 --- a/src/GEOM/geom.cxx +++ b/src/GEOM/geom.cxx @@ -1,4 +1,4 @@ -// GEOM GEOM : implementaion of GEOM_Gen.idl and GEOM_Shape.idl +// GEOM GEOM : implementaion of GEOM_Gen.idl // // Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -17,7 +17,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // // // @@ -26,9 +26,11 @@ // Module : GEOM // $Header$ -using namespace std; -#include "GEOM_Gen_i.hh" -#include "SALOME_NamingService.hxx" +#include + +#include +#include +#include //================================================================================== // 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.