mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-23 21:17:56 +05:00
WIP
This commit is contained in:
parent
b687cd2004
commit
0eb02fa883
@ -40,6 +40,7 @@
|
||||
#include <Utils_ExceptHandlers.hxx>
|
||||
#include <SALOMEDS_wrap.hxx>
|
||||
#include <SALOMEDS_Attributes_wrap.hxx>
|
||||
#include "SALOMEDS_Study_i.hxx"
|
||||
#include <SALOME_KernelServices.hxx>
|
||||
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
@ -215,7 +216,7 @@ SALOMEDS::SObject_ptr SMESH_Gen_i::ObjectToSObject(CORBA::Object_ptr theObject)
|
||||
//=======================================================================
|
||||
SALOMEDS::Study_var SMESH_Gen_i::getStudyServant()
|
||||
{
|
||||
return SALOMEDS::Study::_duplicate(KERNEL::getStudyServant());
|
||||
return SALOMEDS::Study::_duplicate(KERNEL::getStudyServantSA());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
|
@ -32,6 +32,7 @@ std::string BuildSMESHInstance()
|
||||
CORBA::Object_var obj = orb->resolve_initial_references("RootPOA");
|
||||
PortableServer::POA_var poa = PortableServer::POA::_narrow(obj);
|
||||
PortableServer::POAManager_var pman = poa->the_POAManager();
|
||||
PortableServer::ObjectId_var conId;
|
||||
//
|
||||
{
|
||||
char *argv[4] = {"Container","FactoryServer","toto",nullptr};
|
||||
|
Loading…
x
Reference in New Issue
Block a user