#include <unistd.h>
using namespace std;
-// #include <qapplication.h>
-// #include "Qtappl_example.hxx"
-
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SALOME_Session)
//
// servant
-
SALOME_Session_i * mySALOME_Session = new SALOME_Session_i(argc, argv, orb, poa) ;
PortableServer::ObjectId_var mySALOME_Sessionid = poa->activate_object(mySALOME_Session) ;
MESSAGE("poa->activate_object(mySALOME_Session)")
obj = mySALOME_Session->_this() ;
CORBA::String_var sior(orb->object_to_string(obj)) ;
- // MESSAGE("sior(orb->object-to-string(obj))")
- // cerr << "'" << (char*) sior << "'" << endl ;
mySALOME_Session->NSregister();
mySALOME_Session->_remove_ref() ;
- //MESSAGE("mySALOME_Session->_remove_ref()")
//DECOMMENT PortableServer::POAManager_var pman = poa->the_POAManager() ;
pman->activate() ;