Mercurial > hg > orthanc-stone
comparison Framework/StoneInitialization.h @ 1236:358461330978 broker
global function GetWebGLViewportsRegistry()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 09 Dec 2019 20:45:47 +0100 |
parents | b8b2bb75fde1 |
children | 0ca50d275b9a |
comparison
equal
deleted
inserted
replaced
1235:e71ee3e88448 | 1236:358461330978 |
---|---|
19 **/ | 19 **/ |
20 | 20 |
21 | 21 |
22 #pragma once | 22 #pragma once |
23 | 23 |
24 #if !defined(ORTHANC_ENABLE_WASM) | |
25 # error Macro ORTHANC_ENABLE_WASM must be defined | |
26 #endif | |
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 | |
33 # include "Viewport/WebGLViewportsRegistry.h" | |
34 #endif | |
35 | |
24 #include <Core/Logging.h> | 36 #include <Core/Logging.h> |
25 | 37 |
26 namespace OrthancStone | 38 namespace OrthancStone |
27 { | 39 { |
28 #if ORTHANC_ENABLE_LOGGING_PLUGIN == 1 | 40 #if ORTHANC_ENABLE_LOGGING_PLUGIN == 1 |
30 #else | 42 #else |
31 void StoneInitialize(); | 43 void StoneInitialize(); |
32 #endif | 44 #endif |
33 | 45 |
34 void StoneFinalize(); | 46 void StoneFinalize(); |
47 | |
48 #if ORTHANC_ENABLE_WASM == 1 | |
49 void SetWebGLViewportsRegistryTimeout(double timeout); | |
50 #endif | |
51 | |
52 #if ORTHANC_ENABLE_WASM == 1 | |
53 WebGLViewportsRegistry& GetWebGLViewportsRegistry(); | |
54 #endif | |
35 } | 55 } |