]> SALOME platform Git repositories - modules/kernel.git/blobdiff - src/KernelHelpers/SALOME_KernelServices.hxx
Salome HOME
updated copyright message
[modules/kernel.git] / src / KernelHelpers / SALOME_KernelServices.hxx
index d232b1483ec706c2937964ecfe456568c404dd90..76602d11e6f229f3a29671215dc4ad35795ff1ef 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2020  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023  CEA, EDF, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -18,7 +18,8 @@
 //
 
 // Author: Guillaume Boulant (EDF/R&D) 
-
+#ifndef __SALOME_KERNEL_SERVICES_HXX__
+#define __SALOME_KERNEL_SERVICES_HXX__
 #pragma once
 
 #include "KernelHelpers.hxx"
 #include "SALOME_NamingService.hxx"
 #include "SALOME_LifeCycleCORBA.hxx"
 
+#include "SALOME_KernelORB.hxx"
+
 namespace KERNEL {
 
   // ---------------------------------------------
   // SALOME KERNEL main services
-  KERNELHELPERS_EXPORT CORBA::ORB_ptr                getORB();
-  KERNELHELPERS_EXPORT SALOME_NamingService *        getNamingService();
+  KERNELHELPERS_EXPORT SALOME_NamingService_Abstract *getNamingService();
+  KERNELHELPERS_EXPORT void assignNamingServiceSL();
   KERNELHELPERS_EXPORT SALOME_LifeCycleCORBA *       getLifeCycleCORBA();
   KERNELHELPERS_EXPORT SALOME::Session_ptr           getSalomeSession();
   KERNELHELPERS_EXPORT SALOMEDS::Study_ptr           getStudyServant();
@@ -101,3 +104,4 @@ namespace KERNEL {
 #include "Utils_CorbaException.hxx"
 // Tip: CORBA exceptions can be used with LOG (or more generally in streams)
 // Ex: LOG("An exception occurs: "<<e) will log the data of the exception e
+#endif //__SALOME_KERNEL_SERVICES_HXX__