Salome HOME
updated copyright message
[modules/kernel.git] / src / Logger / SALOME_Logger_Server.hxx
index 7c61a120031df6d21f537f465576fa76de75d59b..9b122b6044e592a9a86b7c934256383d9e118b69 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023  CEA, EDF, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -6,7 +6,7 @@
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 # define LOGGER_EXPORT
 #endif
 
-#ifdef WNT
+#ifdef WIN32
 #pragma warning(disable:4275) // Disable warning interface non dll
 #endif
 
+namespace KERNEL
+{
+  LOGGER_EXPORT SALOME_Logger::Logger_ptr getLoggerServantSA();
+}
+
 class LOGGER_EXPORT Logger :
   public POA_SALOME_Logger::Logger
 {
 public:
         //constructor w/o parameters
         //all messages will be put into terminal via cout
-        Logger();
+               Logger();
         //constructor with parameter, filename is output file
         //all messages will be put into special file passed as parameter
         Logger(const char *filename);
-        virtual ~Logger();
+               virtual ~Logger();
         //put message into one special place for all servers
         void putMessage(const char* message);
         void ping();
@@ -73,7 +78,6 @@ private:
         bool m_putIntoFile;
         //ofstream class specialized for disk file output
         std::ofstream m_outputFile; 
-
         //synchronisation object
         static omni_mutex myLock;