comparison OrthancStone/Sources/Viewport/WebAssemblyViewport.h @ 1558:314b6dc507d9

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 20 Aug 2020 11:38:56 +0200
parents a48ae10857b1
children 85e117739eca
comparison
equal deleted inserted replaced
1557:a6f339d8e4c2 1558:314b6dc507d9
30 #if ORTHANC_ENABLE_WASM != 1 30 #if ORTHANC_ENABLE_WASM != 1
31 # error This file can only be used if targeting WebAssembly 31 # error This file can only be used if targeting WebAssembly
32 #endif 32 #endif
33 33
34 #include "IViewport.h" 34 #include "IViewport.h"
35 #include "IViewportInteractor.h"
35 36
36 #include <Compatibility.h> 37 #include <Compatibility.h>
37 38
38 #include <emscripten.h> 39 #include <emscripten.h>
39 #include <emscripten/html5.h> 40 #include <emscripten/html5.h>
40 41
41 #include <memory> 42 #include <memory>
42 #include <string> 43 #include <string>
44 #include <boost/enable_shared_from_this.hpp>
43 45
44 namespace OrthancStone 46 namespace OrthancStone
45 { 47 {
46 class WebAssemblyViewport : public IViewport, 48 class WebAssemblyViewport : public IViewport,
47 public boost::enable_shared_from_this<WebAssemblyViewport> 49 public boost::enable_shared_from_this<WebAssemblyViewport>