comparison OrthancStone/Sources/StoneInitialization.h @ 1591:5887a4f8594b

moving platform-specific files out of the "OrthancStone" folder
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 23 Oct 2020 13:15:03 +0200
parents 244ad1e4e76a
children 4fb8fdf03314
comparison
equal deleted inserted replaced
1590:7b963bccafef 1591:5887a4f8594b
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 ORTHANC_ENABLE_WASM == 1
29 # include "Viewport/WebGLViewportsRegistry.h"
30 #endif
31
32 #include <Logging.h> 24 #include <Logging.h>
33 25
34 namespace OrthancStone 26 namespace OrthancStone
35 { 27 {
36 void StoneInitialize(void* pluginContext); 28 void StoneInitialize(void* pluginContext);
39 { 31 {
40 StoneInitialize(NULL); 32 StoneInitialize(NULL);
41 } 33 }
42 34
43 void StoneFinalize(); 35 void StoneFinalize();
44
45 #if ORTHANC_ENABLE_WASM == 1
46 void SetWebGLViewportsRegistryTimeout(double timeout);
47 #endif
48
49 #if ORTHANC_ENABLE_WASM == 1
50 WebGLViewportsRegistry& GetWebGLViewportsRegistry();
51 #endif
52 } 36 }