comparison Framework/StoneInitialization.h @ 1455:30deba7bc8e2

simplifying include_directories
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 11 Jun 2020 20:54:01 +0200
parents 7ec8fea061b9
children 15173a383a00
comparison
equal deleted inserted replaced
1454:faaff0a1711e 1455:30deba7bc8e2
23 23
24 #if !defined(ORTHANC_ENABLE_WASM) 24 #if !defined(ORTHANC_ENABLE_WASM)
25 # error Macro ORTHANC_ENABLE_WASM must be defined 25 # error Macro ORTHANC_ENABLE_WASM must be defined
26 #endif 26 #endif
27 27
28 #if !defined(ORTHANC_ENABLE_LOGGING_PLUGIN)
29 # error Macro ORTHANC_ENABLE_LOGGING_PLUGIN must be defined
30 #endif
31
32 #if ORTHANC_ENABLE_WASM == 1 28 #if ORTHANC_ENABLE_WASM == 1
33 # include "Viewport/WebGLViewportsRegistry.h" 29 # include "Viewport/WebGLViewportsRegistry.h"
34 #endif 30 #endif
35 31
36 #include <Core/Logging.h> 32 #include <Logging.h>
37 33
38 namespace OrthancStone 34 namespace OrthancStone
39 { 35 {
40 #if ORTHANC_ENABLE_LOGGING_PLUGIN == 1 36 void StoneInitialize(void* pluginContext);
41 void StoneInitialize(OrthancPluginContext* context); 37
42 #else 38 void StoneInitialize()
43 void StoneInitialize(); 39 {
44 #endif 40 StoneInitialize(NULL);
41 }
45 42
46 void StoneFinalize(); 43 void StoneFinalize();
47 44
48 #if ORTHANC_ENABLE_WASM == 1 45 #if ORTHANC_ENABLE_WASM == 1
49 void SetWebGLViewportsRegistryTimeout(double timeout); 46 void SetWebGLViewportsRegistryTimeout(double timeout);