Mercurial > hg > orthanc-stone
comparison Platforms/Wasm/WasmViewport.h @ 754:92c400a09f1b
Merge from default
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Wed, 22 May 2019 16:13:46 +0200 |
parents | c35e98d22764 |
children |
comparison
equal
deleted
inserted
replaced
753:a386bbc955dc | 754:92c400a09f1b |
---|---|
1 #pragma once | 1 #pragma once |
2 | 2 |
3 #include <Framework/Viewport/WidgetViewport.h> | 3 #include "../../Framework/Deprecated/Viewport/WidgetViewport.h" |
4 | 4 |
5 #include <emscripten/emscripten.h> | 5 #include <emscripten/emscripten.h> |
6 | 6 |
7 #ifdef __cplusplus | 7 #ifdef __cplusplus |
8 extern "C" { | 8 extern "C" { |
9 #endif | 9 #endif |
10 | 10 |
11 // JS methods accessible from C++ | 11 // JS methods accessible from C++ |
12 extern OrthancStone::WidgetViewport* CreateWasmViewportFromCpp(const char* htmlCanvasId); | 12 extern Deprecated::WidgetViewport* CreateWasmViewportFromCpp(const char* htmlCanvasId); |
13 | 13 |
14 #ifdef __cplusplus | 14 #ifdef __cplusplus |
15 } | 15 } |
16 #endif | 16 #endif |
17 | 17 |
18 extern void AttachWidgetToWasmViewport(const char* htmlCanvasId, OrthancStone::IWidget* centralWidget); | 18 extern void AttachWidgetToWasmViewport(const char* htmlCanvasId, Deprecated::IWidget* centralWidget); |