Mercurial > hg > orthanc-stone
comparison Deprecated/Platforms/Wasm/WasmViewport.h @ 1400:419d0320c344
moved Platforms into Deprecated
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Wed, 29 Apr 2020 20:45:14 +0200 |
parents | Platforms/Wasm/WasmViewport.h@c35e98d22764 |
children | 828a9b4ee1b7 |
comparison
equal
deleted
inserted
replaced
1399:ff8d2e46ac63 | 1400:419d0320c344 |
---|---|
1 #pragma once | |
2 | |
3 #include "../../Framework/Deprecated/Viewport/WidgetViewport.h" | |
4 | |
5 #include <emscripten/emscripten.h> | |
6 | |
7 #ifdef __cplusplus | |
8 extern "C" { | |
9 #endif | |
10 | |
11 // JS methods accessible from C++ | |
12 extern Deprecated::WidgetViewport* CreateWasmViewportFromCpp(const char* htmlCanvasId); | |
13 | |
14 #ifdef __cplusplus | |
15 } | |
16 #endif | |
17 | |
18 extern void AttachWidgetToWasmViewport(const char* htmlCanvasId, Deprecated::IWidget* centralWidget); |