28 #if !defined SALOME_Logger_Server_include
29 #define SALOME_Logger_Server_include
31 #include <SALOMEconfig.h>
37 #include <omnithread.h>
41 # if defined LOGGER_EXPORTS || defined SalomeLoggerServer_EXPORTS
42 # define LOGGER_EXPORT __declspec( dllexport )
44 # define LOGGER_EXPORT __declspec( dllimport )
47 # define LOGGER_EXPORT
51 #pragma warning(disable:4275) // Disable warning interface non dll
55 public POA_SALOME_Logger::Logger
63 Logger(
const char *filename);
66 void putMessage(
const char* message);
68 void SetOrb( CORBA::ORB_ptr orb ) { _orb = CORBA::ORB::_duplicate(orb);
return; }
69 void shutdown() {
if(!CORBA::is_nil(_orb)) _orb->shutdown(0); };
83 #endif // !defined(SALOME_Logger_Server_include)