comparison Plugins/Engine/SharedLibrary.cpp @ 1486:f967bdf8534e

refactoring to Logging.h
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 04 Aug 2015 10:01:31 +0200
parents afaa55d42ddd
children 0a2ad4a6858f
comparison
equal deleted inserted replaced
1485:27661b33f624 1486:f967bdf8534e
30 **/ 30 **/
31 31
32 32
33 #include "SharedLibrary.h" 33 #include "SharedLibrary.h"
34 34
35 #include "../../Core/Logging.h"
35 #include "../../Core/Toolbox.h" 36 #include "../../Core/Toolbox.h"
36 37
37 #if defined(_WIN32) 38 #if defined(_WIN32)
38 #include <windows.h> 39 #include <windows.h>
39 #elif defined(__linux) || (defined(__APPLE__) && defined(__MACH__)) || defined(__FreeBSD_kernel__) || defined(__FreeBSD__) 40 #elif defined(__linux) || (defined(__APPLE__) && defined(__MACH__)) || defined(__FreeBSD_kernel__) || defined(__FreeBSD__)
40 #include <dlfcn.h> 41 #include <dlfcn.h>
41 #else 42 #else
42 #error Support your platform here 43 #error Support your platform here
43 #endif 44 #endif
44
45 #include <glog/logging.h>
46 45
47 namespace Orthanc 46 namespace Orthanc
48 { 47 {
49 SharedLibrary::SharedLibrary(const std::string& path) : 48 SharedLibrary::SharedLibrary(const std::string& path) :
50 path_(path), 49 path_(path),