-// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
#include "SALOMEDS_Study_i.hxx"
#include "SALOMEDS_SComponent_i.hxx"
#include "SALOMEDS_Driver_i.hxx"
-#include "SALOMEDS_SimanStudy_i.hxx"
#include "SALOMEDS.hxx"
#include "SALOMEDSImpl_Study.hxx"
delete _name_service;
delete _factory;
delete _impl;
- delete SALOMEDS_SimanStudy_i::GetSimanServant(_orb);
}
//============================================================================
}
CORBA::Long SALOMEDS_StudyManager_i::getPID()
-{
+{
#ifdef WIN32
return (CORBA::Long)_getpid();
#else
exit( EXIT_SUCCESS );
}
-//============================================================================
-/*! Function : GetSimanStudy
- * Purpose : Retruns the created or cashed SimanStudy
- */
-//============================================================================
-SALOMEDS::SimanStudy_ptr SALOMEDS_StudyManager_i::GetSimanStudy()
-{
- SALOMEDS::Locker lock;
-
- SALOMEDS_SimanStudy_i* aSiman_servant = SALOMEDS_SimanStudy_i::GetSimanServant(_orb);
- return aSiman_servant->_this();
-}
-
//===========================================================================
// PRIVATE FUNCTIONS
//===========================================================================